refresh the package archive on every start
This commit is contained in:
parent
2018709128
commit
b0552a847b
2 changed files with 8 additions and 2 deletions
4
init.el
4
init.el
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(message "%s" "Emacs Prelude is powering up. Be patient, Master.")
|
||||||
|
|
||||||
;; On OS X Emacs doesn't use the shell PATH if it's not started from
|
;; On OS X Emacs doesn't use the shell PATH if it's not started from
|
||||||
;; the shell. If you're using homebrew modifying the PATH is essential.
|
;; the shell. If you're using homebrew modifying the PATH is essential.
|
||||||
(if (eq system-type 'darwin)
|
(if (eq system-type 'darwin)
|
||||||
|
@ -89,4 +91,6 @@ by Prelude.")
|
||||||
(when (file-exists-p prelude-personal-dir)
|
(when (file-exists-p prelude-personal-dir)
|
||||||
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
|
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
|
||||||
|
|
||||||
|
(message "%s" "Emacs Prelude is ready to do thy bidding, Master!")
|
||||||
|
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
|
@ -38,8 +38,10 @@
|
||||||
'("marmalade" . "http://marmalade-repo.org/packages/") t)
|
'("marmalade" . "http://marmalade-repo.org/packages/") t)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
(when (not package-archive-contents)
|
;; check for new packages (package versions)
|
||||||
(package-refresh-contents))
|
(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
|
;; TODO find a way to get inf-ruby 2.2.2 into Marmalade
|
||||||
(defvar prelude-packages
|
(defvar prelude-packages
|
||||||
|
|
Loading…
Reference in a new issue