From 8cc3c8215c5316cceb5bfcfbdcff9f96ae7704b3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 16 Dec 2001 20:19:13 +0000 Subject: [PATCH] (isearch-edit-string): When we set isearch-string to the default, also set isearch-message. --- lisp/isearch.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 82d3d781d02..070a6cfd5b3 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -890,7 +890,11 @@ If first char entered is \\[isearch-yank-word], then do word search instead." (setq isearch-string (or (car (if isearch-regexp regexp-search-ring search-ring)) - "")) + "") + + isearch-message + (mapconcat 'isearch-text-char-description + isearch-string "")) ;; This used to set the last search string, ;; but I think it is not right to do that here. ;; Only the string actually used should be saved. -- 2.39.2