summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 8ddaa9f41d3..1cebab36f25 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2164,11 +2164,12 @@ to install it but still mark it as selected."
(package-desc-priority-version (cadr available))))))
package-alist)))
+;;;###autoload
(defun package-update-all (&optional query)
"Upgrade all packages.
If QUERY, ask the user before updating packages. When called
interactively, QUERY is always true."
- (interactive (list t))
+ (interactive (list (not noninteractive)))
(let ((updateable (package--updateable-packages)))
(if (not updateable)
(message "No packages to update")