diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-13 15:04:50 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-13 15:05:14 +0200 |
commit | dce5642e86b0ed006a82146126578e6be76869dd (patch) | |
tree | f17bb724609e29dd3306ff3c9f693c1336887718 /lisp/emacs-lisp | |
parent | 526e9758de7d163ce3b25fde69a4e122ce9c3742 (diff) | |
download | emacs-dce5642e86b0ed006a82146126578e6be76869dd.tar.gz emacs-dce5642e86b0ed006a82146126578e6be76869dd.tar.bz2 emacs-dce5642e86b0ed006a82146126578e6be76869dd.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 72b22a65566..6c77f6f150c 100644 --- 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? " |