summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-01-27 11:45:54 +0000
committerEli Zaretskii <eliz@gnu.org>2001-01-27 11:45:54 +0000
commitcfa702446e19545e89e09a4467c462f2437e76d6 (patch)
tree7f7e1cf674ac3a372e456e97dbcb331afcfac961
parent83600a298b7cb63a9a73ed3bbddbd7743a7186f9 (diff)
downloademacs-cfa702446e19545e89e09a4467c462f2437e76d6.tar.gz
(transient-mark-mode): Document the fact that many
commands act on the region when mark is active.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/simple.el10
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7368ee003fe..f0931c7fd15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * simple.el (transient-mark-mode): Document the fact that many
+ commands act on the region when mark is active.
+
2001-01-27 Kenichi Handa <handa@etl.go.jp>
* international/quail.el (quail-setup-completion-buf): Make the
diff --git a/lisp/simple.el b/lisp/simple.el
index 36780f1a0b2..4a35844758d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2334,7 +2334,15 @@ In Transient Mark mode, when the mark is active, the region is highlighted.
Changing the buffer \"deactivates\" the mark.
So do certain other operations that set the mark
but whose main purpose is something else--for example,
-incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]."
+incremental search, \\[beginning-of-buffer], and \\[end-of-buffer].
+
+Many commands change their behavior when Transient Mark mode is in effect
+and the mark is active, by acting on the region instead of their usual
+default part of the buffer's text. Examples of such command include
+\\[comment-dwim], \\[flush-lines], \\[ispell], \\[keep-lines],
+\\[query-replace], \\[query-replace-regexp], and \\[undo]. Invoke
+\\[apropos-documentation] and type \"transient\" at the prompt, to see
+the documentation of commands which are sensitive to the Transient Mark mode."
(interactive "P")
(setq transient-mark-mode
(if (null arg)