Mercurial > emacs
changeset 35631:bc0a3dbd22f6
(transient-mark-mode): Document the fact that many
commands act on the region when mark is active.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 27 Jan 2001 11:43:46 +0000 |
parents | f9eed7569e52 |
children | 857a3de5ef67 |
files | lisp/simple.el |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Sat Jan 27 01:51:04 2001 +0000 +++ b/lisp/simple.el Sat Jan 27 11:43:46 2001 +0000 @@ -2334,7 +2334,15 @@ 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)