[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 fd7bb31 1/3: Update documentation of search-whitespace-regexp
From: |
Lars Ingebrigtsen |
Subject: |
emacs-28 fd7bb31 1/3: Update documentation of search-whitespace-regexp |
Date: |
Tue, 5 Oct 2021 05:12:16 -0400 (EDT) |
branch: emacs-28
commit fd7bb314128baa270d63c79fac97792be5a271e2
Author: Daniel MartÃn <mardani29@yahoo.es>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
doc/emacs/search.texi | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 8a101f1..761161b 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
search string to a regular expression specified by the variable
@code{search-whitespace-regexp}. For example, to make spaces match
sequences of newlines as well as spaces, set it to
-@samp{"[[:space:]\n]+"}. The default value of this variable depends
-on the buffer's major mode; most major modes classify spaces, tabs,
-and formfeed characters as whitespace.
+@samp{"[[:space:]\n]+"}. The default value of this variable considers
+any sequence of spaces and tab characters as whitespace.
If you want whitespace characters to match exactly, you can turn lax
space matching off by typing @kbd{M-s @key{SPC}}