Bladeren bron

emacs.el: Update package-archives

pull/15/head
10sr 9 jaren geleden
bovenliggende
commit
20c5d1339c
1 gewijzigde bestanden met toevoegingen van 9 en 5 verwijderingen
  1. +9
    -5
      emacs.el

+ 9
- 5
emacs.el Bestand weergeven

@@ -228,11 +228,15 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(when (safe-require-or-eval 'package)
;; (add-to-list 'package-archives
;; '("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)

(defun my-auto-install-package ()


Laden…
Annuleren
Opslaan