From 9da6682fad2051665d7667593225e832317cb093 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 11 Aug 1996 00:19:31 +0000 Subject: (isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space. --- lisp/isearch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3