projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
526e975
)
Allow calling package-update-all from the command line
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 13 May 2022 13:04:50 +0000
(15:04 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 13 May 2022 13:05:14 +0000
(15:05 +0200)
* lisp/emacs-lisp/package.el (package-update-all): Allow calling from
the command line with -f package-update-all without any queries.
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 72b22a65566de0cf03eb3d39faf20d14820e7a36..6c77f6f150c1c18986b221b10b8642a3daa33761 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-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? "