瀏覽代碼

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


Loading…
取消
儲存