From dce5642e86b0ed006a82146126578e6be76869dd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 13 May 2022 15:04:50 +0200 Subject: [PATCH] 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. --- lisp/emacs-lisp/package.el | 1 + 1 file changed, 1 insertion(+) 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? " -- 2.39.2