From: Richard M. Stallman Date: Sat, 20 Nov 2004 22:09:50 +0000 (+0000) Subject: (query-replace-read-to, query-replace-read-from): X-Git-Tag: ttn-vms-21-2-B4~3807 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bbe9f1755cc18041e60f4d4be48bfa3aceaf1b9d;p=emacs.git (query-replace-read-to, query-replace-read-from): Specify t for KEEP-ALL in read-from-minibuffer. --- diff --git a/lisp/replace.el b/lisp/replace.el index 0c0ee821c67..97b05cbc80a 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -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)