Commit 40c7f256 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(isearch-edit-string): Erase the Search prompt

if user enters an empty string and there is no default.
parent 5a323218
......@@ -1072,7 +1072,11 @@ If first char entered is \\[isearch-yank-word-or-char], then do word search inst
(if isearch-nonincremental
;; (sit-for 1) ;; needed if isearch-done does: (message "")
;; The search done message is confusing when the string
;; is empty, so erase it.
(if (equal isearch-string "")
(message "")))))
(quit ; handle abort-recursive-edit
(isearch-abort) ;; outside of let to restore outside global values
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment