]> git.eshelyaron.com Git - emacs.git/commitdiff
(query-replace-read-to, query-replace-read-from):
authorRichard M. Stallman <rms@gnu.org>
Sat, 20 Nov 2004 22:09:50 +0000 (22:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 20 Nov 2004 22:09:50 +0000 (22:09 +0000)
Specify t for KEEP-ALL in read-from-minibuffer.

lisp/replace.el

index 0c0ee821c679a23318c5f1756579b318a0653b37..97b05cbc80ab2883192c57f10f6673ade61f055e 100644 (file)
@@ -92,7 +92,7 @@ wants to replace FROM with TO."
                 (format "%s: " string))
               nil nil nil
               query-replace-from-history-variable
-              nil t))))
+              nil t t))))
       (if (and (zerop (length from)) lastto lastfrom)
          (cons lastfrom
                (query-replace-compile-replacement lastto regexp-flag))
@@ -156,7 +156,7 @@ the original string if not."
      (read-from-minibuffer
       (format "%s %s with: " string (query-replace-descr from))
       nil nil nil
-      query-replace-to-history-variable from t))
+      query-replace-to-history-variable from t t))
    regexp-flag))
 
 (defun query-replace-read-args (string regexp-flag &optional noerror)