* lisp/emacs-lisp/package.el (package-update-all): Also refresh
package list.
;;;###autoload
(defun package-update-all (&optional query)
- "Upgrade all packages.
+ "Refresh package list and upgrade all packages.
If QUERY, ask the user before updating packages. When called
interactively, QUERY is always true."
(interactive (list (not noninteractive)))
+ (package-refresh-contents)
(let ((updateable (package--updateable-packages)))
(if (not updateable)
(message "No packages to update")