Mercurial > emacs
changeset 42093:a2dac1893064
(isearch-edit-string): When we set isearch-string
to the default, also set isearch-message.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 16 Dec 2001 20:19:13 +0000 |
parents | a67d42446c08 |
children | e7e087eb0356 |
files | lisp/isearch.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/isearch.el Sun Dec 16 20:03:11 2001 +0000 +++ b/lisp/isearch.el Sun Dec 16 20:19:13 2001 +0000 @@ -890,7 +890,11 @@ (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.