summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-12-16 20:19:13 +0000
committerRichard M. Stallman <rms@gnu.org>2001-12-16 20:19:13 +0000
commit5d35485eed444384d95da5c6ea31bfa31b314f3a (patch)
tree91466195b51aa5f751fbb9741076621efeb718f1 /lisp/isearch.el
parent5265b2003b9d2258d06445c27f1102de460bb680 (diff)
downloademacs-5d35485eed444384d95da5c6ea31bfa31b314f3a.tar.gz
(isearch-edit-string): When we set isearch-string
to the default, also set isearch-message.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el6
1 files changed, 5 insertions, 1 deletions
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.