summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-05-10 16:01:28 +0300
committerEli Zaretskii <eliz@gnu.org>2023-05-10 16:01:28 +0300
commit2438fa2e6cc6b747206b10da2b0fd2b431df70eb (patch)
tree7756fa2e71d9dbdbd0765c181313cd81356d2843
parent93005cd9dc2bab882e66ac7b81f593cd6c021e43 (diff)
downloademacs-2438fa2e6cc6b747206b10da2b0fd2b431df70eb.tar.gz
; Fix minor documentation issue ion replace.el
* lisp/replace.el (query-replace, query-replace-regexp): Doc fix. (Bug#63397)
-rw-r--r--lisp/replace.el7
1 files changed, 6 insertions, 1 deletions
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))