diff options
| author | Chong Yidong | 2008-10-29 16:00:42 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-29 16:00:42 +0000 |
| commit | d01c3d683e5aff67ce7069cd1b9aa47c8130a91b (patch) | |
| tree | 1a9972893d56d2cf942732ec997c85c80b8f29da | |
| parent | 80e5620e5b9af0935405650b66a331fa14a69d23 (diff) | |
| download | emacs-d01c3d683e5aff67ce7069cd1b9aa47c8130a91b.tar.gz emacs-d01c3d683e5aff67ce7069cd1b9aa47c8130a91b.zip | |
(Using Region): Document use-empty-active-region.
| -rw-r--r-- | doc/emacs/mark.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index d69bfef5ab3..84cf5b39638 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -225,6 +225,16 @@ Save it in a buffer or a file (@pxref{Accumulating Text}). | |||
| 225 | If Delete Selection mode is enabled, some commands delete the region | 225 | If Delete Selection mode is enabled, some commands delete the region |
| 226 | when used while the mark is active. @xref{Mouse Commands}. | 226 | when used while the mark is active. @xref{Mouse Commands}. |
| 227 | 227 | ||
| 228 | Some commands have a default behavior when the region is inactive, | ||
| 229 | but operate on the text in the region if the region is active. For | ||
| 230 | example, @kbd{M-$} (@code{ispell-word}) normally checks the spelling | ||
| 231 | of the word at point, but it checks the text in the region if the | ||
| 232 | region is active (@pxref{Spelling}). Normally, such commands use | ||
| 233 | their default behavior if the region is empty (i.e., if mark and point | ||
| 234 | are at the same position). If you want them to operate on the empty | ||
| 235 | region, change the variable @code{use-empty-active-region} to | ||
| 236 | @code{t}. | ||
| 237 | |||
| 228 | @node Mark Ring | 238 | @node Mark Ring |
| 229 | @section The Mark Ring | 239 | @section The Mark Ring |
| 230 | 240 | ||