checkdoc-autofix-ask-replace

checkdoc-autofix-ask-replace is a compiled Lisp function in `checkdoc.el'.

(checkdoc-autofix-ask-replace START END QUESTION REPLACEWITH &optional COMPLEX)

Highlight between START and END and queries the user with QUESTION.
If the user says yes, or if `checkdoc-autofix-flag' permits, replace
the region marked by START and END with REPLACEWITH. If optional flag
COMPLEX is non-nil, then we may ask the user a question. See the
documentation for `checkdoc-autofix-flag' for details.

If a section is auto-replaced without asking the user, this function
will pause near the fixed code so the user will briefly see what
happened.

This function returns non-nil if the text was replaced.

This function will not modify `match-data'.