Variable: yes-or-no-prompt
yes-or-no-prompt is a customizable variable defined in fns.c.
Value
"(yes or no) "
Documentation
String to append when yes-or-no-p asks a question.
For best results this should end in a space.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
// Defined in /usr/src/emacs/src/fns.c
DEFVAR_LISP ("yes-or-no-prompt", Vyes_or_no_prompt,
doc: /* String to append when `yes-or-no-p' asks a question.
For best results this should end in a space. */);