Commit f7a17bb3 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

* replace.el (replace-match-maybe-edit): Doc clarification.

Fixes: debbugs:15632
parent fff711ee
2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
* replace.el (replace-match-maybe-edit): Doc clarification
(bug#15632).
* subr.el (add-to-list): Refill the paragraphs (bug#15791).
* macros.el (insert-kbd-macro): Doc fix (bug#16025).
......
......@@ -1891,9 +1891,11 @@ but coerced to the correct value of INTEGERS."
(defun replace-match-maybe-edit (newtext fixedcase literal noedit match-data backward)
"Make a replacement with `replace-match', editing `\\?'.
NEWTEXT, FIXEDCASE, LITERAL are just passed on. If NOEDIT is true, no
check for `\\?' is made to save time. MATCH-DATA is used for the
replacement. In case editing is done, it is changed to use markers.
FIXEDCASE, LITERAL are passed to `replace-match' (which see).
After possibly editing it (if `\\?' is present), NEWTEXT is also
passed to `replace-match'. If NOEDIT is true, no check for `\\?'
is made (to save time). MATCH-DATA is used for the replacement.
In case editing is done, it is changed to use markers.
The return value is non-nil if there has been no `\\?' or NOEDIT was
passed in. If LITERAL is set, no checking is done, anyway."
......
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