]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of secondary selections
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2019 08:30:35 +0000 (11:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2019 08:30:35 +0000 (11:30 +0300)
* doc/emacs/killing.texi (Secondary Selection): Improve
wording.  Mention that 'M-mouse-1' can be used to cancel
secondary selections.  (Bug#36365)

doc/emacs/killing.texi

index 9b9c890331efa91407607370ff7a437a0c34c740..670decd67bd040dab33efa49923f7e637f19c0c1 100644 (file)
@@ -605,16 +605,20 @@ This command does not alter the kill ring.
 @kindex M-mouse-1
 @item M-mouse-1
 Set one endpoint for the @dfn{secondary selection}
-(@code{mouse-start-secondary}).
+(@code{mouse-start-secondary}).  Use @kbd{M-mouse-3} to set the other
+end and complete the selection.  This command can also cancel any
+existing secondary selection without starting a new one, if you click
+@kbd{M-mouse-1} on the mode line or on the header line.
 
 @findex mouse-secondary-save-then-kill
 @kindex M-mouse-3
 @item M-mouse-3
-Set the secondary selection, with one end at the position clicked and
-the other at the position specified with @kbd{M-mouse-1}
-(@code{mouse-secondary-save-then-kill}).  This also puts the selected
-text in the kill ring.  A second @kbd{M-mouse-3} at the same place
-kills the secondary selection just made.
+Set the secondary selection (@code{mouse-secondary-save-then-kill}),
+with one end at the position you click @kbd{M-mouse-3}, and the other
+at the position specified previously with @kbd{M-mouse-1}.  This also
+puts the selected text in the kill ring.  A second @kbd{M-mouse-3} at
+the same place kills the text selected by the secondary selection just
+made.
 
 @findex mouse-yank-secondary
 @kindex M-mouse-2