Use http protocol instead of https for ELPA on Windows
This commit is contained in:
parent
6d1569289e
commit
fbc6d1559a
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue