* lisp/emacs-lisp/package.el (package-update-all): Autoload and
tweak querying so that -f works.
(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")