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 | be0486dcd387864bdb607408b4a66bad0b68942f (patch) | |
tree | fa33beaec2f0421d2b73325bf1d24b39af3c770f /lisp | |
parent | 0ee7d657619281190967fe2d61ab79d0e44b66e2 (diff) | |
download | emacs-be0486dcd387864bdb607408b4a66bad0b68942f.tar.gz |
(isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space.
Diffstat (limited to 'lisp')
-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 |