mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Implement `el-get-self-update'
This commit is contained in:
parent
ec6166bb95
commit
d00698dd96
|
@ -237,6 +237,10 @@ M-x el-get-update::
|
|||
Will prompt for an installed package name, with completion, then update
|
||||
it. This will run the +build+ commands and +init+ the package again.
|
||||
|
||||
M-x el-get-self-update::
|
||||
|
||||
Update only one package, +el-get+ itself.
|
||||
|
||||
M-x el-get-update-all::
|
||||
|
||||
Will update all packages used in +el-get-sources+. Beware that using
|
||||
|
|
|
@ -2952,10 +2952,15 @@ called by `el-get' (usually at startup) for each package in
|
|||
(message "el-get update %s" package)))
|
||||
|
||||
(defun el-get-update-all ()
|
||||
(interactive)
|
||||
"Performs update of all installed packages (specified in el-get-standard-packages)"
|
||||
(interactive)
|
||||
(mapc 'el-get-update (el-get-standard-package-list)))
|
||||
|
||||
(defun el-get-self-update ()
|
||||
"Update el-get itself. The standard recipe takes care of reloading the code."
|
||||
(interactive)
|
||||
(el-get-update "el-get"))
|
||||
|
||||
(defun el-get-post-remove (package)
|
||||
"Run the post-remove hooks for PACKAGE."
|
||||
(let* ((source (el-get-package-def package))
|
||||
|
|
Loading…
Reference in New Issue
Block a user