changeset 15858:946a4fb104ef

(isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Aug 1996 00:19:31 +0000
parents f3f1f879d812
children 2cb422e2d16c
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Sat Aug 10 23:42:03 1996 +0000
+++ b/lisp/isearch.el	Sun Aug 11 00:19:31 1996 +0000
@@ -1091,7 +1091,8 @@
 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