[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 1b383ac: Minor fix of a recently installed documentation change
From: |
Eli Zaretskii |
Subject: |
emacs-28 1b383ac: Minor fix of a recently installed documentation change |
Date: |
Tue, 5 Oct 2021 12:21:39 -0400 (EDT) |
branch: emacs-28
commit 1b383ac424b847e5e50cc5e5e1761ebb9d7d658a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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)
---
doc/emacs/search.texi | 4 ++--
etc/NEWS | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 761161b..f6d9cb3 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 2274588..c3bfc9c 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 1b383ac: Minor fix of a recently installed documentation change,
Eli Zaretskii <=