emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5ac6af4e88: Document the `x' DWIM action in the manual


From: Lars Ingebrigtsen
Subject: master 5ac6af4e88: Document the `x' DWIM action in the manual
Date: Sat, 7 May 2022 08:42:35 -0400 (EDT)

branch: master
commit 5ac6af4e886e630e039d282bb6f3965d7367c461
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Document the `x' DWIM action in the manual
    
    * doc/emacs/package.texi (Package Menu): Mention the DWIM action
    of the `x' command.
---
 doc/emacs/package.texi | 10 +++++++++-
 etc/NEWS               |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index bd3ae2aa6a..fc2a093ec4 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
diff --git a/etc/NEWS b/etc/NEWS
index 5dd87e3e9e..de3f093864 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -748,6 +748,7 @@ this includes "binary" buffers like 'archive-mode' and 
'image-mode'.
 This command allows you to upgrade packages without using 'M-x
 list-packages'.
 
++++
 *** New DWIM action on 'x'.
 If no packages are marked, 'x' will install the package under point if
 it isn't already, and remove it if it is installed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]