aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-07-07 21:02:18 +0000
committerRichard M. Stallman <[email protected]>2003-07-07 21:02:18 +0000
commit7f8e0f51fd59f09da7aaab71e86b9d83db2777fa (patch)
tree802890e5c892210f1034a801211669cb5c65e949 /lisp/isearch.el
parent50099a09c19e147c6a067f68ca5f27f523632d37 (diff)
(search-whitespace-regexp): Add a shy group around it.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 754b7cf6fa..04f8c4464e 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -151,7 +151,7 @@ string, and RET terminates editing and does a nonincremental search."
:type 'boolean
:group 'isearch)
-(defcustom search-whitespace-regexp "\\s-+"
+(defcustom search-whitespace-regexp "\\(?:\\s-+\\)"
"*If non-nil, regular expression to match a sequence of whitespace chars.
This applies to regular expression incremental search.
You might want to use something like \"[ \\t\\r\\n]+\" instead.