diff options
| author | Daniel MartÃn | 2021-10-05 09:37:56 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-10-05 09:37:56 +0200 |
| commit | fd7bb314128baa270d63c79fac97792be5a271e2 (patch) | |
| tree | 0802334980ba98477b6493366a246316a71ea628 | |
| parent | 1f4ced47a1d2387be3c439f6858cf5fa1903cac8 (diff) | |
| download | emacs-fd7bb314128baa270d63c79fac97792be5a271e2.tar.gz emacs-fd7bb314128baa270d63c79fac97792be5a271e2.zip | |
Update documentation of search-whitespace-regexp
* doc/emacs/search.texi (Lax Search): Update the documentation about
the default value of search-whitespace-regexp, as it is now
independent of the major mode's syntax table (bug#51020).
| -rw-r--r-- | doc/emacs/search.texi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 8a101f1150b..761161be1c0 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1332,9 +1332,8 @@ precisely, Emacs matches each sequence of space characters in the | |||
| 1332 | search string to a regular expression specified by the variable | 1332 | search string to a regular expression specified by the variable |
| 1333 | @code{search-whitespace-regexp}. For example, to make spaces match | 1333 | @code{search-whitespace-regexp}. For example, to make spaces match |
| 1334 | sequences of newlines as well as spaces, set it to | 1334 | sequences of newlines as well as spaces, set it to |
| 1335 | @samp{"[[:space:]\n]+"}. The default value of this variable depends | 1335 | @samp{"[[:space:]\n]+"}. The default value of this variable considers |
| 1336 | on the buffer's major mode; most major modes classify spaces, tabs, | 1336 | any sequence of spaces and tab characters as whitespace. |
| 1337 | and formfeed characters as whitespace. | ||
| 1338 | 1337 | ||
| 1339 | If you want whitespace characters to match exactly, you can turn lax | 1338 | If you want whitespace characters to match exactly, you can turn lax |
| 1340 | space matching off by typing @kbd{M-s @key{SPC}} | 1339 | space matching off by typing @kbd{M-s @key{SPC}} |