diff options
| author | Eli Zaretskii | 2001-01-27 11:45:54 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-01-27 11:45:54 +0000 |
| commit | cfa702446e19545e89e09a4467c462f2437e76d6 (patch) | |
| tree | 7f7e1cf674ac3a372e456e97dbcb331afcfac961 | |
| parent | 83600a298b7cb63a9a73ed3bbddbd7743a7186f9 (diff) | |
| download | emacs-cfa702446e19545e89e09a4467c462f2437e76d6.tar.gz emacs-cfa702446e19545e89e09a4467c462f2437e76d6.zip | |
(transient-mark-mode): Document the fact that many
commands act on the region when mark is active.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/simple.el | 10 |
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 @@ | |||
| 1 | 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * simple.el (transient-mark-mode): Document the fact that many | ||
| 4 | commands act on the region when mark is active. | ||
| 5 | |||
| 1 | 2001-01-27 Kenichi Handa <handa@etl.go.jp> | 6 | 2001-01-27 Kenichi Handa <handa@etl.go.jp> |
| 2 | 7 | ||
| 3 | * international/quail.el (quail-setup-completion-buf): Make the | 8 | * 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. | |||
| 2334 | Changing the buffer \"deactivates\" the mark. | 2334 | Changing the buffer \"deactivates\" the mark. |
| 2335 | So do certain other operations that set the mark | 2335 | So do certain other operations that set the mark |
| 2336 | but whose main purpose is something else--for example, | 2336 | but whose main purpose is something else--for example, |
| 2337 | incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]." | 2337 | incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]. |
| 2338 | |||
| 2339 | Many commands change their behavior when Transient Mark mode is in effect | ||
| 2340 | and the mark is active, by acting on the region instead of their usual | ||
| 2341 | default part of the buffer's text. Examples of such command include | ||
| 2342 | \\[comment-dwim], \\[flush-lines], \\[ispell], \\[keep-lines], | ||
| 2343 | \\[query-replace], \\[query-replace-regexp], and \\[undo]. Invoke | ||
| 2344 | \\[apropos-documentation] and type \"transient\" at the prompt, to see | ||
| 2345 | the documentation of commands which are sensitive to the Transient Mark mode." | ||
| 2338 | (interactive "P") | 2346 | (interactive "P") |
| 2339 | (setq transient-mark-mode | 2347 | (setq transient-mark-mode |
| 2340 | (if (null arg) | 2348 | (if (null arg) |