Commit bbe9f175 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(query-replace-read-to, query-replace-read-from):

Specify t for KEEP-ALL in read-from-minibuffer.
parent 9d00469f
......@@ -92,7 +92,7 @@ wants to replace FROM with TO."
(format "%s: " string))
nil nil nil
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."
(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))
(defun query-replace-read-args (string regexp-flag &optional noerror)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment