From: Lars Ingebrigtsen Date: Wed, 4 Sep 2019 13:19:40 +0000 (+0200) Subject: Make the NSM not pop up an X dialogue on non-mouse actions X-Git-Tag: emacs-27.0.90~1553^2~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c3a40a9b7b8b953d7882942d44373ccd8f7a3cd;p=emacs.git Make the NSM not pop up an X dialogue on non-mouse actions * lisp/emacs-lisp/rmc.el (read-multiple-choice): Don't pop up X dialogues on (url-retrieve "https://expired.badssl.com/" #'ignore) and the like. --- diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el index 47f3b8dc9cf..13cd1c0f42a 100644 --- a/lisp/emacs-lisp/rmc.el +++ b/lisp/emacs-lisp/rmc.el @@ -106,7 +106,7 @@ Usage example: (setq tchar (if (and (display-popup-menus-p) last-input-event ; not during startup - (listp last-nonmenu-event) + (consp last-nonmenu-event) use-dialog-box) (x-popup-dialog t