aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/search.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 3562f8a2cc4..34d4e8f54cb 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -80,10 +80,10 @@ past the end of the next occurrence of those characters in the buffer.
80 80
81 For instance, if you type @kbd{C-s} and then @kbd{F}, that puts the 81 For instance, if you type @kbd{C-s} and then @kbd{F}, that puts the
82cursor after the first @samp{F} that occurs in the buffer after the 82cursor after the first @samp{F} that occurs in the buffer after the
83starting point. Then if you then type @kbd{O}, the cursor moves to 83starting point. If you then type @kbd{O}, the cursor moves to just
84just after the first @samp{FO}; the @samp{F} in that @samp{FO} might 84after the first @samp{FO}; the @samp{F} in that @samp{FO} might not be
85not be the first @samp{F} previously found. After another @kbd{O}, 85the first @samp{F} previously found. After another @kbd{O}, the
86the cursor moves to just after the first @samp{FOO}. 86cursor moves to just after the first @samp{FOO}.
87 87
88@cindex faces for highlighting search matches 88@cindex faces for highlighting search matches
89@cindex isearch face 89@cindex isearch face
@@ -227,11 +227,11 @@ special effects.
227 By default, incremental search performs @dfn{lax space matching}: 227 By default, incremental search performs @dfn{lax space matching}:
228each space, or sequence of spaces, matches any sequence of one or more 228each space, or sequence of spaces, matches any sequence of one or more
229spaces in the text. Hence, @samp{foo bar} matches @samp{foo bar}, 229spaces in the text. Hence, @samp{foo bar} matches @samp{foo bar},
230@samp{foo bar}, @samp{foo bar}, and so on (but not @samp{foobar}). 230@samp{foo@w{ }bar}, @samp{foo@w{ }bar}, and so on (but not
231More precisely, Emacs matches each sequence of space characters in the 231@samp{foobar}). More precisely, Emacs matches each sequence of space
232search string to a regular expression specified by the variable 232characters in the search string to a regular expression specified by
233@code{search-whitespace-regexp}. For example, to make spaces match 233the variable @code{search-whitespace-regexp}. For example, to make
234sequences of newlines as well as spaces, set it to 234spaces match sequences of newlines as well as spaces, set it to
235@samp{"[[:space:]\n]+"}. 235@samp{"[[:space:]\n]+"}.
236 236
237 To toggle lax space matching, type @kbd{M-s @key{SPC}} 237 To toggle lax space matching, type @kbd{M-s @key{SPC}}