Variable: use-dialog-box
use-dialog-box is a customizable variable defined in fns.c.
Value
t
Documentation
Non-nil means mouse commands use dialog boxes to ask questions.
This applies to y-or-n-p and yes-or-no-p questions asked by commands
invoked by mouse clicks and mouse menu items.
On some platforms, file selection dialogs are also enabled if this is non-nil.
This variable was added, or its default value changed, in Emacs 21.1.
Probably introduced at or before Emacs version 21.1.
Source Code
// Defined in /usr/src/emacs/src/fns.c
DEFVAR_BOOL ("use-dialog-box", use_dialog_box,
doc: /* Non-nil means mouse commands use dialog boxes to ask questions.
This applies to `y-or-n-p' and `yes-or-no-p' questions asked by commands
invoked by mouse clicks and mouse menu items.
On some platforms, file selection dialogs are also enabled if this is
non-nil. */);