]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the NSM not pop up an X dialogue on non-mouse actions
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 4 Sep 2019 13:19:40 +0000 (15:19 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 4 Sep 2019 13:20:00 +0000 (15:20 +0200)
* 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.

lisp/emacs-lisp/rmc.el

index 47f3b8dc9cf2c80c6465e8e55a7702432e381332..13cd1c0f42ae0280261543093b31d8d78977ac77 100644 (file)
@@ -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