From: Eli Zaretskii Date: Sat, 29 Jan 2022 15:56:30 +0000 (+0200) Subject: ; Fix formatting of last change. X-Git-Tag: emacs-29.0.90~2663 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bddd9c5f686cd5707fe395bba68c32baf4698cb9;p=emacs.git ; Fix formatting of last change. --- diff --git a/lisp/subr.el b/lisp/subr.el index 6d70d9e8d65..f307b2d4e25 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3249,14 +3249,13 @@ switch back again to the minibuffer before entering the character. This is not possible when using `read-key', but using `read-key' may be less confusing to some users.") - (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." (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 + from--tty-menu-p) ; invoked via TTY menu use-dialog-box)) (defun y-or-n-p (prompt)