From: Richard M. Stallman Date: Sun, 16 Dec 2001 20:19:13 +0000 (+0000) Subject: (isearch-edit-string): When we set isearch-string X-Git-Tag: ttn-vms-21-2-B4~17674 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cc3c8215c5316cceb5bfcfbdcff9f96ae7704b3;p=emacs.git (isearch-edit-string): When we set isearch-string to the default, also set isearch-message. --- 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.