[Fix #444] Add command prelude-update-packages

This commit is contained in:
Bozhidar Batsov 2013-12-06 16:31:58 +02:00
parent dbe0ed889a
commit 3cc9ad7400

View file

@ -463,6 +463,15 @@ Doesn't mess with special buffers."
(prelude-recompile-init) (prelude-recompile-init)
(message "Update finished. Restart Emacs to complete the process."))) (message "Update finished. Restart Emacs to complete the process.")))
(defun prelude-update-packages ()
"Update Prelude's packages.
This includes package installed via `prelude-require-package'."
(interactive)
(when (y-or-n-p "Do you want to update Prelude's packages? ")
(epl-upgrade prelude-packages)
(message "Update finished. Restart Emacs to complete the process.")))
(defun thing-at-point-goto-end-of-integer () (defun thing-at-point-goto-end-of-integer ()
"Go to end of integer at point." "Go to end of integer at point."
(let ((inhibit-changing-match-data t)) (let ((inhibit-changing-match-data t))