mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Allow calling package-update-all from the command line
* lisp/emacs-lisp/package.el (package-update-all): Allow calling from the command line with -f package-update-all without any queries.
This commit is contained in:
parent
526e9758de
commit
dce5642e86
@ -2171,6 +2171,7 @@ to install it but still mark it as selected."
|
||||
(if (not updateable)
|
||||
(message "No packages to update")
|
||||
(when (and (not inhibit-queries)
|
||||
(not noninteractive)
|
||||
(not (yes-or-no-p
|
||||
(if (length= updateable 1)
|
||||
"One package to update. Do it? "
|
||||
|
Loading…
Reference in New Issue
Block a user