|
@@ -228,11 +228,15 @@ IF OK-IF-ALREADY-EXISTS is true force download." |
|
|
(when (safe-require-or-eval 'package) |
|
|
(when (safe-require-or-eval 'package) |
|
|
;; (add-to-list 'package-archives |
|
|
;; (add-to-list 'package-archives |
|
|
;; '("ELPA" . "http://tromey.com/elpa/")) |
|
|
;; '("ELPA" . "http://tromey.com/elpa/")) |
|
|
(add-to-list 'package-archives |
|
|
|
|
|
'("melpa" . "https://melpa.org/packages/") |
|
|
|
|
|
t) |
|
|
|
|
|
(add-to-list 'package-archives |
|
|
|
|
|
'("marmalade" . "http://marmalade-repo.org/packages/")) |
|
|
|
|
|
|
|
|
(setq package-archives |
|
|
|
|
|
`(,@package-archives |
|
|
|
|
|
("melpa" . "https://melpa.org/packages/") |
|
|
|
|
|
("10sr-el" . "http://10sr.github.io/emacs-lisp/p/"))) |
|
|
|
|
|
;; (add-to-list 'package-archives |
|
|
|
|
|
;; '("melpa" . "https://melpa.org/packages/") |
|
|
|
|
|
;; t) |
|
|
|
|
|
;; (add-to-list 'package-archives |
|
|
|
|
|
;; '("marmalade" . "http://marmalade-repo.org/packages/")) |
|
|
(package-initialize) |
|
|
(package-initialize) |
|
|
|
|
|
|
|
|
(defun my-auto-install-package () |
|
|
(defun my-auto-install-package () |
|
|