From 2438fa2e6cc6b747206b10da2b0fd2b431df70eb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 10 May 2023 16:01:28 +0300 Subject: [PATCH] ; Fix minor documentation issue ion replace.el * lisp/replace.el (query-replace, query-replace-regexp): Doc fix. (Bug#63397) --- lisp/replace.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)) -- 2.39.2