summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-13 10:35:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-13 10:35:22 +0200
commit08540a29e30775092cf3dc7fc25f845bd34b913b (patch)
treeb4928cbe27fae55ba92f06905fc1f8fc886be49d /lisp/emacs-lisp
parente8a28d756433e80fd622496eba65286ea0c4b895 (diff)
downloademacs-08540a29e30775092cf3dc7fc25f845bd34b913b.tar.gz
emacs-08540a29e30775092cf3dc7fc25f845bd34b913b.tar.bz2
emacs-08540a29e30775092cf3dc7fc25f845bd34b913b.zip
package-menu-execute doc string clarification
* lisp/emacs-lisp/package.el (package-menu-execute): Say what happens to upgrade-marked packages (bug#50551).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 617e941dba5..c6cb8f058bc 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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)