diff options
| author | Chong Yidong | 2010-12-04 20:16:01 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-12-04 20:16:01 -0500 |
| commit | 2931c841a3ae5a83bb64c9b6525fa83c9326d55c (patch) | |
| tree | 49bccad2809b27f38a97946d43e26733152ff91d /doc | |
| parent | 5eae900ed6d7a87dc245dacbdb963a78666846ee (diff) | |
| download | emacs-2931c841a3ae5a83bb64c9b6525fa83c9326d55c.tar.gz emacs-2931c841a3ae5a83bb64c9b6525fa83c9326d55c.zip | |
Document behavior of lazy highlight in word search (Bug#7470).
* doc/emacs/search.texi (Word Search): Note that the lazy highlight
always matches to whole words (Bug#7470).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index ffaeafad015..dd03f0e4782 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * search.texi (Word Search): Note that the lazy highlight always | ||
| 4 | matches to whole words (Bug#7470). | ||
| 5 | |||
| 1 | 2010-12-04 Eli Zaretskii <eliz@gnu.org> | 6 | 2010-12-04 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * display.texi (Optional Mode Line): Make the description of | 8 | * display.texi (Optional Mode Line): Make the description of |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 0916c577ef0..e7e3a3afc24 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -459,11 +459,13 @@ for a forward search, or @kbd{M-s w C-r @key{RET}} for a backward search. | |||
| 459 | These run the commands @code{word-search-forward} and | 459 | These run the commands @code{word-search-forward} and |
| 460 | @code{word-search-backward} respectively. | 460 | @code{word-search-backward} respectively. |
| 461 | 461 | ||
| 462 | A nonincremental word search differs slightly from the incremental | 462 | Incremental and nonincremental word searches differ slightly in the |
| 463 | version in the way it finds a match: the last word in the search | 463 | way they find a match. In a nonincremental word search, the last word |
| 464 | string must be an exact match for a whole word. In an incremental | 464 | in the search string must exactly match a whole word. In an |
| 465 | word search, the last word in the search string can match part of a | 465 | incremental word search, the matching is more lax: the last word in |
| 466 | word; this allows the matching to proceed incrementally as you type. | 466 | the search string can match part of a word, so that the matching |
| 467 | proceeds incrementally as you type. This additional laxity does not | ||
| 468 | apply to the lazy highlight, which always matches whole words. | ||
| 467 | 469 | ||
| 468 | @node Regexp Search | 470 | @node Regexp Search |
| 469 | @section Regular Expression Search | 471 | @section Regular Expression Search |