checkdoc-y-or-n-p

checkdoc-y-or-n-p is a compiled Lisp function in `checkdoc.el'.

(checkdoc-y-or-n-p QUESTION)

Like `y-or-n-p', but pays attention to `checkdoc-autofix-flag'.
Argument QUESTION is the prompt passed to `y-or-n-p'.