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
|
@ -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")
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
(defvar prelude-packages
|
||||
'(ace-jump-mode ack-and-a-half anzu dash diminish elisp-slime-nav
|
||||
expand-region flx-ido flycheck gist
|
||||
epl expand-region flx-ido flycheck gist
|
||||
git-commit-mode gitconfig-mode gitignore-mode grizzl
|
||||
guru-mode helm helm-projectile ido-ubiquitous
|
||||
key-chord magit move-text rainbow-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue