From e6b8fbbe42e1f68f12c8c123d496b062c96fde71 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 12 Mar 2025 10:13:07 +0800 Subject: [PATCH] ; Touch up docs for exchange-point-and-mark-highlight-region (cherry picked from commit d01a391195e4f6282a587fcc581bb6cd8b2204e1) --- lisp/simple.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5