emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4c3a40a 2/2: Make the NSM not pop up an X dialogue


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 4c3a40a 2/2: Make the NSM not pop up an X dialogue on non-mouse actions
Date: Wed, 4 Sep 2019 09:20:11 -0400 (EDT)

branch: master
commit 4c3a40a9b7b8b953d7882942d44373ccd8f7a3cd
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/emacs-lisp/rmc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el
index 47f3b8d..13cd1c0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]