refresh the package archive on every start

This commit is contained in:
Bozhidar Batsov 2011-12-07 22:28:16 +02:00
parent 2018709128
commit b0552a847b
2 changed files with 8 additions and 2 deletions

View file

@ -38,8 +38,10 @@
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; check for new packages (package versions)
(message "%s" "Emacs Prelude is now refreshing its package database...")
(package-refresh-contents)
(message "%s" " done.")
;; TODO find a way to get inf-ruby 2.2.2 into Marmalade
(defvar prelude-packages