From 4320eebb4a90e563978b260ebd55da2234dbbc1c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Jan 2022 19:18:26 +0200 Subject: [PATCH] ; * lisp/subr.el (use-dialog-box-p): Fix typo. --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index f307b2d4e25..fccd75361bd 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3252,7 +3252,7 @@ character. This is not possible when using `read-key', but using (defvar from--tty-menu-p nil "Non-nil means the current command was invoked from a TTY menu.") (defun use-dialog-box-p () - "Say whether the current command should promp the user via GUI dialog box." + "Say whether the current command should prompt the user via a dialog box." (and last-input-event ; not during startup (or (listp last-nonmenu-event) ; invoked by a mouse event from--tty-menu-p) ; invoked via TTY menu -- 2.39.5