1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

(isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space.

This commit is contained in:
Richard M. Stallman 1996-08-11 00:19:31 +00:00
parent 416799ae25
commit 9da6682fad

View 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