package-menu-execute doc string clarification

* lisp/emacs-lisp/package.el (package-menu-execute): Say what
happens to upgrade-marked packages (bug#50551).
This commit is contained in:
Lars Ingebrigtsen 2021-09-13 10:35:17 +02:00
parent e8a28d7564
commit 08540a29e3

View file

@ -3601,8 +3601,10 @@ packages list, respectively."
(defun package-menu-execute (&optional noquery)
"Perform marked Package Menu actions.
Packages marked for installation are downloaded and installed;
packages marked for deletion are removed.
Packages marked for installation are downloaded and installed,
packages marked for deletion are removed,
and packages marked for upgrading are downloaded and upgraded.
Optional argument NOQUERY non-nil means do not ask the user to confirm."
(interactive nil package-menu-mode)
(package--ensure-package-menu-mode)