From: Sean Whitton <spwhitton@spwhitton.name>
Date: Wed, 12 Mar 2025 02:13:07 +0000 (+0800)
Subject: ; Touch up docs for exchange-point-and-mark-highlight-region
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6b8fbbe42e1f68f12c8c123d496b062c96fde71;p=emacs.git

; Touch up docs for exchange-point-and-mark-highlight-region

(cherry picked from commit d01a391195e4f6282a587fcc581bb6cd8b2204e1)
---

diff --git a/lisp/simple.el b/lisp/simple.el
index 15d9fffc13d..e513362426c 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -7282,17 +7282,18 @@ Does not set point.  Does nothing if mark ring is empty."
 (defcustom exchange-point-and-mark-highlight-region t
   "Activate region when exchanging point and mark.
 
-When set to nil, this modifies `exchange-point-and-mark' so that it doesn't
-activate mark when it is not already active."
+When set to nil, this modifies `exchange-point-and-mark' so that it
+doesn't activate the mark if it is not already active.
+
+This variable has no effect when Transient Mark mode is off."
   :type 'boolean
   :group 'editing-basics
   :version "31.1")
 
 (defun exchange-point-and-mark (&optional arg)
   "Put the mark where point is now, and point where the mark is now.
-This command works even when the mark is not active,
-and it reactivates the mark unless
-`exchange-point-and-mark-highlight-region' is nil.
+This command works even when the mark is not active, and it reactivates
+the mark unless `exchange-point-and-mark-highlight-region' is nil.
 
 If Transient Mark mode is on, a prefix ARG deactivates the mark
 if it is active, and otherwise avoids reactivating it.  If