diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-11 00:19:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-11 00:19:31 +0000 |
commit | 9da6682fad2051665d7667593225e832317cb093 (patch) | |
tree | ab23692521eb824643364552f3665c99ed824305 | |
parent | 416799ae25ea2fcea7bf523ef5ca15976ed84f73 (diff) | |
download | emacs-9da6682fad2051665d7667593225e832317cb093.tar.gz |
(isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space.
-rw-r--r-- | lisp/isearch.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index a98c2125ee0..f4648e42532 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1091,7 +1091,8 @@ Obsolete." If you want to search for just a space, type C-q SPC." (interactive) (if isearch-regexp - (if (and search-whitespace-regexp (not isearch-within-brackets)) + (if (and search-whitespace-regexp (not isearch-within-brackets) + (not isearch-invalid-regexp)) (isearch-process-search-string search-whitespace-regexp " ") (isearch-printing-char)) (progn |