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 'package)
(add-to-list 'package-archives
(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)