]> git.eshelyaron.com Git - emacs.git/commitdiff
(perform-replace): Use `query-replace-descr'.
authorJuri Linkov <juri@jurta.org>
Wed, 8 Sep 2004 20:24:12 +0000 (20:24 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 8 Sep 2004 20:24:12 +0000 (20:24 +0000)
(occur-mode-map): Rename `next-error-follow-mode' to `next-error-follow-minor-mode'.

lisp/replace.el

index 5976a1bcb91ee58ffe05e4f300c4e541e2f6fccc..0c0ee821c679a23318c5f1756579b318a0653b37 100644 (file)
@@ -618,7 +618,7 @@ end of the buffer."
     (define-key map "g" 'revert-buffer)
     (define-key map "q" 'quit-window)
     (define-key map "z" 'kill-this-buffer)
-    (define-key map "\C-c\C-f" 'next-error-follow-mode)
+    (define-key map "\C-c\C-f" 'next-error-follow-minor-mode)
     map)
   "Keymap for `occur-mode'.")
 
@@ -1393,7 +1393,9 @@ make, or the user didn't cancel the call."
                  ;; Bind message-log-max so we don't fill up the message log
                  ;; with a bunch of identical messages.
                  (let ((message-log-max nil))
-                   (message message from-string next-replacement))
+                   (message message
+                             (query-replace-descr from-string)
+                             (query-replace-descr next-replacement)))
                  (setq key (read-event))
                  ;; Necessary in case something happens during read-event
                  ;; that clobbers the match data.