aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-04-28 08:14:37 +0300
committerEli Zaretskii2023-04-28 08:14:37 +0300
commitb33d25f596725c69ad5d85f3d724b8bf452ff509 (patch)
tree2b6a61e270ab2e3fdc995645e60a766953147702
parentc3a61870b94bf2745faa1565c445d60b5a289007 (diff)
downloademacs-b33d25f596725c69ad5d85f3d724b8bf452ff509.tar.gz
emacs-b33d25f596725c69ad5d85f3d724b8bf452ff509.zip
; Minor improvements in doc strings of package-upgrade commands
* lisp/emacs-lisp/package.el (package-upgrade) (package-upgrade-all): Doc fixes. (Bug#62720)
-rw-r--r--lisp/emacs-lisp/package.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 74796fc8744..9cc3f8724af 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2270,8 +2270,9 @@ had been enabled."
2270 "Upgrade package NAME if a newer version exists. 2270 "Upgrade package NAME if a newer version exists.
2271 2271
2272Currently, packages which are part of the Emacs distribution 2272Currently, packages which are part of the Emacs distribution
2273cannot be upgraded that way. Use `i' after `M-x list-packages' to 2273cannot be upgraded that way. To enable upgrades of such a
2274upgrade to an ELPA version first." 2274package using this command, first upgrade the package to a
2275newer version from ELPA by using `\\<package-menu-mode-map>\\[package-menu-mark-install]' after `\\[list-packages]'."
2275 (interactive 2276 (interactive
2276 (list (completing-read 2277 (list (completing-read
2277 "Upgrade package: " (package--upgradeable-packages) nil t))) 2278 "Upgrade package: " (package--upgradeable-packages) nil t)))
@@ -2308,7 +2309,11 @@ If QUERY, ask the user before upgrading packages. When called
2308interactively, QUERY is always true. 2309interactively, QUERY is always true.
2309 2310
2310Currently, packages which are part of the Emacs distribution are 2311Currently, packages which are part of the Emacs distribution are
2311not upgraded that way. Use `i' after `M-x list-packages' to 2312not upgraded by this command. To enable upgrading such a package
2313using this command, first upgrade the package to a newer version
2314from ELPA by using `\\<package-menu-mode-map>\\[package-menu-mark-install]' after `\\[list-packages]'.
2315
2316 Use `i' after `M-x list-packages' to
2312upgrade to an ELPA version first." 2317upgrade to an ELPA version first."
2313 (interactive (list (not noninteractive))) 2318 (interactive (list (not noninteractive)))
2314 (package-refresh-contents) 2319 (package-refresh-contents)