]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix minor documentation issue ion replace.el
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 May 2023 13:01:28 +0000 (16:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 10 May 2023 13:01:28 +0000 (16:01 +0300)
* lisp/replace.el (query-replace, query-replace-regexp): Doc fix.
(Bug#63397)

lisp/replace.el

index 3c2b925ea921df93cadc1c6663f9f167fc3f5b59..1555731f6e33d5cd6703e53c8018ccee29f855d5 100644 (file)
@@ -436,6 +436,8 @@ Fourth and fifth arg START and END specify the region to operate on.
 
 Arguments FROM-STRING, TO-STRING, DELIMITED, START, END, BACKWARD, and
 REGION-NONCONTIGUOUS-P are passed to `perform-replace' (which see).
+\(TO-STRING is passed to `perform-replace' as REPLACEMENTS and
+DELIMITED is passed as DELIMITED-FLAG.)
 
 To customize possible responses, change the bindings in `query-replace-map'."
   (declare (interactive-args
@@ -533,7 +535,10 @@ text, TO-STRING is actually made a list instead of a string.
 Use \\[repeat-complex-command] after this command for details.
 
 Arguments REGEXP, TO-STRING, DELIMITED, START, END, BACKWARD, and
-REGION-NONCONTIGUOUS-P are passed to `perform-replace' (which see)."
+REGION-NONCONTIGUOUS-P are passed to `perform-replace' (which see).
+\(REGEXP is passed to `perform-replace' as FROM-STRING,
+TO-STRING is passed as REPLACEMENTS, and DELIMITED is passed
+as DELIMITED-FLAG.)"
   (declare (interactive-args
            (start (use-region-beginning))
            (end (use-region-end))