[Fix #444] Add command prelude-update-packages
This commit is contained in:
parent
dbe0ed889a
commit
3cc9ad7400
1 changed files with 9 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue