diff lisp/isearch.el @ 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 f38a270798ca
children 36ab766521c0
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.