summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-11-12 13:10:24 +0200
committerEli Zaretskii <eliz@gnu.org>2022-11-12 13:10:24 +0200
commit7d592db0ab606e8988ef662e6a1377348a87d188 (patch)
treed00ae48356e796a04154b3819cbbcbe7eadc0bdd
parent70fb03a49af07bd644e831c7d2e8d219aa910535 (diff)
downloademacs-7d592db0ab606e8988ef662e6a1377348a87d188.tar.gz
Document that 'transient-mark-mode' is off in batch mode
* doc/emacs/mark.texi (Mark, Disabled Transient Mark): Document, belatedly, that 'transient-mark-mode' is turned on by default only in interactive sessions. (Bug#59201)
-rw-r--r--doc/emacs/mark.texi17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 91c44d527b3..01ebfb2c858 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -35,10 +35,10 @@ the mark; this turns off the highlighting. You can also explicitly
deactivate the mark at any time, by typing @kbd{C-g}
(@pxref{Quitting}).
- The above default behavior is known as Transient Mark mode.
-Disabling Transient Mark mode switches Emacs to an alternative
-behavior, in which the region is usually not highlighted.
-@xref{Disabled Transient Mark}.
+ The above behavior, which is the default in interactive sessions, is
+known as Transient Mark mode. Disabling Transient Mark mode switches
+Emacs to an alternative behavior, in which the region is usually not
+highlighted. @xref{Disabled Transient Mark}.
@vindex highlight-nonselected-windows
Setting the mark in one buffer has no effect on the marks in other
@@ -429,10 +429,11 @@ motion keys will extend the region set by shift-selection.
The default behavior of the mark and region, in which setting the
mark activates it and highlights the region, is called Transient Mark
-mode. This is a minor mode that is enabled by default. It can be
-toggled with @kbd{M-x transient-mark-mode}, or with the
-@samp{Highlight Active Region} menu item in the @samp{Options} menu.
-Turning it off switches Emacs to an alternative mode of operation:
+mode. This is a minor mode that is enabled by default in interactive
+sessions. It can be toggled with @kbd{M-x transient-mark-mode}, or
+with the @samp{Highlight Active Region} menu item in the
+@samp{Options} menu. Turning it off switches Emacs to an alternative
+mode of operation:
@itemize @bullet
@item