Browse Source

emacs.el: reflesh before auto install packages

pull/1/head
10sr 10 years ago
parent
commit
23e5c2b1cc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el View File

@@ -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…
Cancel
Save