summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-10-16 17:52:51 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-10-16 17:52:56 +0200
commitc41c1ac410423243f575e910aef9a1c7645ec216 (patch)
tree9f2446ee344fd258ca286c04ca357ae8c3f774a0 /lisp/indent.el
parent0022935a3161fd9d35a64093296827dcdd427347 (diff)
downloademacs-c41c1ac410423243f575e910aef9a1c7645ec216.tar.gz
indent-rigidly doc string clarification
* lisp/indent.el (indent-rigidly): Note that the command deactivates the mark (bug#42842).
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index e436d140e79..e67109ab431 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -249,7 +249,8 @@ It is activated by calling `indent-rigidly' interactively.")
If called interactively with no prefix argument, activate a
transient mode in which the indentation can be adjusted interactively
by typing \\<indent-rigidly-map>\\[indent-rigidly-left], \\[indent-rigidly-right], \\[indent-rigidly-left-to-tab-stop], or \\[indent-rigidly-right-to-tab-stop].
-Typing any other key deactivates the transient mode.
+Typing any other key exits this mode. If `transient-mark-mode' is enabled,
+exiting also deactivates the mark.
If called from a program, or interactively with prefix ARG,
indent all lines starting in the region forward by ARG columns.