Use MELPA not MELPA stable (I guess)
This commit is contained in:
parent
45bec70ac1
commit
8f4c7223a1
1 changed files with 10 additions and 8 deletions
|
|
@ -85,14 +85,16 @@
|
|||
;; =================================================================
|
||||
;; Packages
|
||||
;; =================================================================
|
||||
(setq package-archives
|
||||
'(("gnu" . "http://elpa.gnu.org/packages/")
|
||||
("org" . "http://orgmode.org/elpa/")
|
||||
("melpa" . "http://stable.melpa.org/packages/")
|
||||
))
|
||||
(when (< emacs-major-version 24)
|
||||
;; For important compatibility libraries like cl-lib
|
||||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
|
||||
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
|
||||
(not (gnutls-available-p))))
|
||||
(proto (if no-ssl "http" "https")))
|
||||
(setq package-archives
|
||||
'(("gnu" . "http://elpa.gnu.org/packages/")
|
||||
("org" . "http://orgmode.org/elpa/")
|
||||
))
|
||||
|
||||
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
|
||||
)
|
||||
(package-initialize)
|
||||
|
||||
(unless package-archive-contents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue