summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-07 14:42:18 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-07 14:42:18 +0200
commit5ac6af4e886e630e039d282bb6f3965d7367c461 (patch)
tree66eb518fecbe320d4ea883eb7734221eba14b465 /doc
parentc2a84365d8c24ad2ebbb95ac8526c279aefa678c (diff)
downloademacs-5ac6af4e886e630e039d282bb6f3965d7367c461.tar.gz
Document the `x' DWIM action in the manual
* doc/emacs/package.texi (Package Menu): Mention the DWIM action of the `x' command.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/package.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index bd3ae2aa6ad..fc2a093ec42 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -89,6 +89,11 @@ list of available packages from package archive servers. If the
network is unavailable, it falls back on the most recently retrieved
list.
+The main command to use in the package list buffer is the @key{x}
+command. If the package under point isn't installed already, this
+command will install it. If the package under point is already
+installed, this command will delete it.
+
The following commands are available in the package menu:
@table @kbd
@@ -162,7 +167,10 @@ installed versions (marked with status @samp{obsolete}).
@findex package-menu-execute
Download and install all packages marked with @kbd{i}, and their
dependencies; also, delete all packages marked with @kbd{d}
-(@code{package-menu-execute}). This also removes the marks.
+(@code{package-menu-execute}). This also removes the marks. If no
+packages are marked, this command will install the package under point
+(if it isn't installed already), or delete the package under point (if
+it's already installed).
@item g
@item r