瀏覽代碼

emacs.el: reflesh before auto install packages

pull/1/head
10sr 10 年之前
父節點
當前提交
23e5c2b1cc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el 查看文件

@@ -130,11 +130,11 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
;; (package-refresh-contents)

(defun my-auto-install-package ()
"Install packages semi-automatically."
(interactive)
(package-refresh-contents)
(mapc (lambda (pkg)
(or (package-installed-p pkg)
(locate-library (symbol-name pkg))


Loading…
取消
儲存