replace-match-maybe-edit
replace-match-maybe-edit is a compiled Lisp function in `replace.el
'.
(replace-match-maybe-edit NEWTEXT FIXEDCASE LITERAL NOEDIT MATCH-DATA BACKWARD)
Make a replacement with `replace-match', editing `\?'.
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.