From: Lars Ingebrigtsen Date: Wed, 25 May 2022 01:23:50 +0000 (+0200) Subject: Autoload package-update-all X-Git-Tag: emacs-29.0.90~1910^2~445 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f474ad4ed1932ee01e43fa5be206d0a0c144bd1d;p=emacs.git Autoload package-update-all * lisp/emacs-lisp/package.el (package-update-all): Autoload and tweak querying so that -f works. --- 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")