mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -08:00
Autoload package-update-all
* lisp/emacs-lisp/package.el (package-update-all): Autoload and tweak querying so that -f works.
This commit is contained in:
parent
fcf80d7e62
commit
f474ad4ed1
1 changed files with 2 additions and 1 deletions
|
|
@ -2164,11 +2164,12 @@ to install it but still mark it as selected."
|
|||
(package-desc-priority-version (cadr available))))))
|
||||
package-alist)))
|
||||
|
||||
;;;###autoload
|
||||
(defun package-update-all (&optional query)
|
||||
"Upgrade all packages.
|
||||
If QUERY, ask the user before updating packages. When called
|
||||
interactively, QUERY is always true."
|
||||
(interactive (list t))
|
||||
(interactive (list (not noninteractive)))
|
||||
(let ((updateable (package--updateable-packages)))
|
||||
(if (not updateable)
|
||||
(message "No packages to update")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue