From: Eli Zaretskii Date: Wed, 10 May 2023 13:01:28 +0000 (+0300) Subject: ; Fix minor documentation issue ion replace.el X-Git-Tag: emacs-29.0.91~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2438fa2e6cc6b747206b10da2b0fd2b431df70eb;p=emacs.git ; Fix minor documentation issue ion replace.el * lisp/replace.el (query-replace, query-replace-regexp): Doc fix. (Bug#63397) --- diff --git a/lisp/replace.el b/lisp/replace.el index 3c2b925ea92..1555731f6e3 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -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))