summaryrefslogtreecommitdiff
path: root/lisp/rect.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-12-27 12:58:25 -0700
committerEli Zaretskii <eliz@gnu.org>2021-12-28 19:39:22 +0200
commit06dcd2be5d42362757e923bc5d1952a2bce509b9 (patch)
tree111c214e3a87e6449d30684bc7ea687c95dde160 /lisp/rect.el
parentc0815aca18e210e1590e47b78a01e5dd63401775 (diff)
downloademacs-06dcd2be5d42362757e923bc5d1952a2bce509b9.tar.gz
emacs-06dcd2be5d42362757e923bc5d1952a2bce509b9.tar.bz2
emacs-06dcd2be5d42362757e923bc5d1952a2bce509b9.zip
Improve rectangle-mark-mode documentation regarding mark activation
* doc/emacs/killing.texi: Describe how rectangle-mark-mode works when Transient Mark mode is off. Qualify discussion of rectangle-exchange-point-and-mark to say that it cycles the four corners only when the region is active. * lisp/rect.el (rectangle-mark-mode): State that rectangle-mark-mode does not activate the mark when Transient Mark mode is off. Reword sentence about how long the mode lasts to account for when Transient Mark mode is off. (Bug#42663)
Diffstat (limited to 'lisp/rect.el')
-rw-r--r--lisp/rect.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/rect.el b/lisp/rect.el
index d288adfbaf6..80f992e182f 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -651,7 +651,8 @@ with a prefix argument, prompt for START-AT and FORMAT."
(define-minor-mode rectangle-mark-mode
"Toggle the region as rectangular.
-Activates the region if needed. Only lasts until the region is deactivated."
+Activates the region if it's inactive and Transient Mark mode is
+on. Only lasts until the region is next deactivated."
:lighter nil
(rectangle--reset-crutches)
(when rectangle-mark-mode