summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el1
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? "