emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/popup e164f3b 098/184: fixed without ignore-errors


From: ELPA Syncer
Subject: [nongnu] elpa/popup e164f3b 098/184: fixed without ignore-errors
Date: Wed, 6 Oct 2021 00:01:20 -0400 (EDT)

branch: elpa/popup
commit e164f3bc2dadcd2cd6d8e7f97f908a6697aced92
Author: Hiroaki Otsu <ootsuhiroaki@gmail.com>
Commit: Hiroaki Otsu <ootsuhiroaki@gmail.com>

    fixed without ignore-errors
---
 popup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/popup.el b/popup.el
index 1fb2511..43262e8 100644
--- a/popup.el
+++ b/popup.el
@@ -1192,7 +1192,7 @@ PROMPT is a prompt string when reading events during 
event loop."
                           :help-delay help-delay)
            (keyboard-quit))
       (setq key (popup-menu-read-key-sequence keymap prompt help-delay))
-      (setq binding (ignore-errors (lookup-key keymap key)))
+      (setq binding (and key (lookup-key keymap key)))
       (cond
        ((or (null key) (zerop (length key)))
         (unless (funcall popup-menu-show-quick-help-function menu nil :prompt 
prompt)



reply via email to

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