]> code.delx.au - gnu-emacs/commitdiff
(isearch-edit-string): When we set isearch-string
authorRichard M. Stallman <rms@gnu.org>
Sun, 16 Dec 2001 20:19:13 +0000 (20:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 16 Dec 2001 20:19:13 +0000 (20:19 +0000)
to the default, also set isearch-message.

lisp/isearch.el

index 82d3d781d02c9969b95ee38479778d0abb4dabe1..070a6cfd5b382c260317bc3c761c87ba5c1ad5ef 100644 (file)
@@ -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.