Do an automatic package upgrade in prelude-update
This commit is contained in:
parent
82513bf204
commit
3c8c7dec05
3 changed files with 23 additions and 14 deletions
core
|
@ -450,10 +450,14 @@ Doesn't mess with special buffers."
|
|||
(exchange-point-and-mark)
|
||||
(deactivate-mark nil))
|
||||
|
||||
(require 'epl)
|
||||
|
||||
(defun prelude-update ()
|
||||
"Update Prelude to its latest version."
|
||||
(interactive)
|
||||
(when (y-or-n-p "Do you want to update Prelude? ")
|
||||
(message "Updating installed packages...")
|
||||
(epl-upgrade)
|
||||
(message "Updating Prelude...")
|
||||
(cd prelude-dir)
|
||||
(shell-command "git pull")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue