Use http protocol instead of https for ELPA on Windows

This commit is contained in:
Neurolit 2016-11-08 18:39:21 +01:00 committed by Bozhidar Batsov
parent 6d1569289e
commit fbc6d1559a

View file

@ -35,8 +35,12 @@
(require 'cl) (require 'cl)
(require 'package) (require 'package)
(if (eq system-type 'windows-nt)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives (add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t) '("melpa" . "https://melpa.org/packages/") t)
)
;; set package-user-dir to be relative to Prelude install path ;; set package-user-dir to be relative to Prelude install path
(setq package-user-dir (expand-file-name "elpa" prelude-dir)) (setq package-user-dir (expand-file-name "elpa" prelude-dir))
(package-initialize) (package-initialize)