From: Eli Zaretskii Date: Tue, 5 Oct 2021 16:20:51 +0000 (+0300) Subject: Minor fix of a recently installed documentation change X-Git-Tag: emacs-28.0.90~390 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b383ac424b847e5e50cc5e5e1761ebb9d7d658a;p=emacs.git Minor fix of a recently installed documentation change * doc/emacs/search.texi (Lax Search): Don't use ".." inside @samp, it looks confusing, especially in print. (Bug#51020) --- diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 761161be1c0..f6d9cb3be18 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -1331,8 +1331,8 @@ matches @w{@samp{foo bar}}, @w{@samp{foo@ @ bar}}, 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 considers +sequences of newlines as well as spaces, set it to the regular expression +@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 diff --git a/etc/NEWS b/etc/NEWS index 2274588913e..c3bfc9c9474 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1168,7 +1168,7 @@ search string is at least this long. 'lazy-highlight-initial-delay' still applies for shorter search strings, which avoids flicker in the search buffer due to too many matches being highlighted. ---- ++++ *** The default 'search-whitespace-regexp' value has changed. This used to be "\\s-+", which meant that it was mode-dependent whether newlines were included in the whitespace set. This has now been