emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master dce5642e86: Allow calling package-update-all from the command lin


From: Lars Ingebrigtsen
Subject: master dce5642e86: Allow calling package-update-all from the command line
Date: Fri, 13 May 2022 09:05:20 -0400 (EDT)

branch: master
commit dce5642e86b0ed006a82146126578e6be76869dd
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 72b22a6556..6c77f6f150 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? "



reply via email to

[Prev in Thread] Current Thread [Next in Thread]