From fbc6d1559a95dcc0da118c725c0122125ab80054 Mon Sep 17 00:00:00 2001 From: Neurolit Date: Tue, 8 Nov 2016 18:39:21 +0100 Subject: [PATCH] Use http protocol instead of https for ELPA on Windows --- core/prelude-packages.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index e5d805b..68a3419 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -35,8 +35,12 @@ (require 'cl) (require 'package) -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/") t) +(if (eq system-type 'windows-nt) + (add-to-list 'package-archives + '("melpa" . "http://melpa.org/packages/") t) + (add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/") t) + ) ;; set package-user-dir to be relative to Prelude install path (setq package-user-dir (expand-file-name "elpa" prelude-dir)) (package-initialize)