summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-02-19 15:16:31 +0200
committerEli Zaretskii <eliz@gnu.org>2021-02-19 15:16:31 +0200
commit8e8b46ef818a5f94a9697dce1c49c6869d61deed (patch)
treec57ee28f8b1610c72732c10212f88d3535c87434
parentdcb2015a5b644dafd61580c791f1f6625f5858e4 (diff)
downloademacs-8e8b46ef818a5f94a9697dce1c49c6869d61deed.tar.gz
More accurate documentation of the "r" interactive spec
* doc/lispref/commands.texi (Interactive Codes): Describe the effect of 'mark-even-if-inactive'.
-rw-r--r--doc/lispref/commands.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 5385c03790d..7569ca6e691 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -488,7 +488,10 @@ I/O.
Point and the mark, as two numeric arguments, smallest first. This is
the only code letter that specifies two successive arguments rather than
one. This will signal an error if the mark is not set in the buffer
-which is current when the command is invoked. No I/O.
+which is current when the command is invoked. If Transient Mark mode
+is turned on (@pxref{The Mark}) --- as it is by default --- and user
+option @code{mark-even-if-inactive} is @code{nil}, Emacs will signal
+an error even if the mark @emph{is} set, but is inactive. No I/O.
@item s
Arbitrary text, read in the minibuffer and returned as a string