aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-03-12 11:56:13 +0800
committerSean Whitton2025-03-12 11:57:04 +0800
commitcd1defc441fc7694aaa0adac617edf790d8444d6 (patch)
tree15c58452dbf596b27b9e81a99776bff11be3b8da
parentad57fbc58f91837eb73c74afcc72258cef30b9d1 (diff)
downloademacs-cd1defc441fc7694aaa0adac617edf790d8444d6.tar.gz
emacs-cd1defc441fc7694aaa0adac617edf790d8444d6.zip
; Add more detail to exchange-point-and-mark docstring
It didn't mention that exchange-point-and-mark-highlight-region affects C-u C-x C-x too.
-rw-r--r--lisp/simple.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 08ea5e27ab8..53658ac6d9b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -7470,10 +7470,15 @@ This variable has no effect when Transient Mark mode is off."
7470This command works even when the mark is not active, and it reactivates 7470This command works even when the mark is not active, and it reactivates
7471the mark unless `exchange-point-and-mark-highlight-region' is nil. 7471the mark unless `exchange-point-and-mark-highlight-region' is nil.
7472 7472
7473If Transient Mark mode is on, a prefix ARG deactivates the mark 7473If Transient Mark mode is on, a prefix ARG deactivates the mark if it is
7474if it is active, and otherwise avoids reactivating it. If 7474active, and otherwise avoids reactivating it. However, if
7475Transient Mark mode is off, a prefix ARG enables Transient Mark 7475`exchange-point-and-mark-highlight-region' is nil, then using a prefix
7476mode temporarily." 7476argument does reactivate the mark; effectively, when Transient Mark mode
7477is on, setting `exchange-point-and-mark-highlight-region' to nil swaps
7478the meanings of the presence and absence of a prefix argument.
7479
7480If Transient Mark mode is off, a prefix ARG enables Transient Mark mode
7481temporarily."
7477 (interactive "P") 7482 (interactive "P")
7478 (let ((omark (mark t)) 7483 (let ((omark (mark t))
7479 (region-was-active (region-active-p)) 7484 (region-was-active (region-active-p))