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

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

[elpa] externals/which-key af8a760ad2 5/8: ; * which-key.el (which-key--


From: ELPA Syncer
Subject: [elpa] externals/which-key af8a760ad2 5/8: ; * which-key.el (which-key--get-keymap-bindings-1): Use eql.
Date: Tue, 12 Mar 2024 18:59:41 -0400 (EDT)

branch: externals/which-key
commit af8a760ad2d54bd1f1513804e67a59ac03cd1eb5
Author: Jeremy Bryant <jb@jeremybryant.net>
Commit: Justin Burkett <justin@burkett.cc>

    ; * which-key.el (which-key--get-keymap-bindings-1): Use eql.
---
 which-key.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/which-key.el b/which-key.el
index 54ec92d231..dcb5af7ce7 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1886,7 +1886,7 @@ Requires `which-key-compute-remaps' to be non-nil."
                   (or all
                       ;; event 27 is escape, so this will pick up meta
                       ;; bindings and hopefully not too much more
-                      (and (numberp ev) (= ev 27))))
+                      (eql ev 27)))
              (setq bindings
                    (which-key--get-keymap-bindings-1
                     keymap bindings key nil all ignore-commands)))



reply via email to

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