]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space.
authorRichard M. Stallman <rms@gnu.org>
Sun, 11 Aug 1996 00:19:31 +0000 (00:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 11 Aug 1996 00:19:31 +0000 (00:19 +0000)
lisp/isearch.el

index a98c2125ee078aebe747bad496374fe36082a567..f4648e425322dfb72aa2b84afa0bd85b8e926615 100644 (file)
@@ -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