]> code.delx.au - gnu-emacs/commitdiff
(search-whitespace-regexp): Add a shy group around it.
authorRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:02:18 +0000 (21:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:02:18 +0000 (21:02 +0000)
lisp/isearch.el

index 754b7cf6fa1745083c339e8d7b6a26f03f7760d4..04f8c4464ef5d5eb9e0a641367e37fe8a61eca52 100644 (file)
@@ -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.