diff options
| author | Richard M. Stallman | 2001-12-16 20:19:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-12-16 20:19:13 +0000 |
| commit | 8cc3c8215c5316cceb5bfcfbdcff9f96ae7704b3 (patch) | |
| tree | 70bca9626c95cef345305ecbd797abef06c01634 | |
| parent | c2d0b18a4864c9cc51caba9b493b90afa4160e94 (diff) | |
| download | emacs-8cc3c8215c5316cceb5bfcfbdcff9f96ae7704b3.tar.gz emacs-8cc3c8215c5316cceb5bfcfbdcff9f96ae7704b3.zip | |
(isearch-edit-string): When we set isearch-string
to the default, also set isearch-message.
| -rw-r--r-- | lisp/isearch.el | 6 |
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." | |||
| 890 | (setq isearch-string (or (car (if isearch-regexp | 890 | (setq isearch-string (or (car (if isearch-regexp |
| 891 | regexp-search-ring | 891 | regexp-search-ring |
| 892 | search-ring)) | 892 | search-ring)) |
| 893 | "")) | 893 | "") |
| 894 | |||
| 895 | isearch-message | ||
| 896 | (mapconcat 'isearch-text-char-description | ||
| 897 | isearch-string "")) | ||
| 894 | ;; This used to set the last search string, | 898 | ;; This used to set the last search string, |
| 895 | ;; but I think it is not right to do that here. | 899 | ;; but I think it is not right to do that here. |
| 896 | ;; Only the string actually used should be saved. | 900 | ;; Only the string actually used should be saved. |