# HG changeset patch # User Richard M. Stallman # Date 839722771 0 # Node ID 946a4fb104ef09b2296802bc29d1682179ad51a0 # Parent f3f1f879d8129f875666498d3eae3d50d5d6003c (isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space. diff -r f3f1f879d812 -r 946a4fb104ef lisp/isearch.el --- 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