浏览代码

emacs.el: Update package-archives

pull/15/head
10sr 9 年前
父节点
当前提交
20c5d1339c
共有 1 个文件被更改,包括 9 次插入5 次删除
  1. +9
    -5
      emacs.el

+ 9
- 5
emacs.el 查看文件

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


正在加载...
取消
保存