Sfoglia il codice sorgente

emacs.el: Update package-archives

pull/15/head
10sr 9 anni fa
parent
commit
20c5d1339c
1 ha cambiato i file con 9 aggiunte e 5 eliminazioni
  1. +9
    -5
      emacs.el

+ 9
- 5
emacs.el Vedi File

@@ -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 ()


Caricamento…
Annulla
Salva