Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refresh the package archive on every start

  • Loading branch information...
commit b0552a847bbd3f6986afa4d0f6364c5f4f17b798 1 parent 2018709
@bbatsov bbatsov authored
Showing with 8 additions and 2 deletions.
  1. +4 −0 init.el
  2. +4 −2 modules/prelude-packages.el
View
4 init.el
@@ -33,6 +33,8 @@
;;; 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
;; the shell. If you're using homebrew modifying the PATH is essential.
(if (eq system-type 'darwin)
@@ -89,4 +91,6 @@ by Prelude.")
(when (file-exists-p prelude-personal-dir)
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
+(message "%s" "Emacs Prelude is ready to do thy bidding, Master!")
+
;;; init.el ends here
View
6 modules/prelude-packages.el
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.