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

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

[nongnu] elpa/bind-map 2a5fcbd947 73/97: Revert "Fix incorrect check of


From: ELPA Syncer
Subject: [nongnu] elpa/bind-map 2a5fcbd947 73/97: Revert "Fix incorrect check of override mode in local hook"
Date: Thu, 20 Jan 2022 07:59:25 -0500 (EST)

branch: elpa/bind-map
commit 2a5fcbd947bb466a4be4ee2cb8458be0e209f5a4
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>

    Revert "Fix incorrect check of override mode in local hook"
    
    This reverts commit 292794739c929e4bb9fdf13f0c5736ad3f0fcbf8.
---
 bind-map.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bind-map.el b/bind-map.el
index 72f2cc3694..2711e362f3 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -130,8 +130,7 @@ be activated.")
   ;; format is (OVERRIDE-MODE STATE KEY DEF)
   (dolist (entry bind-map-evil-local-bindings)
     (let ((map (intern (format "evil-%s-state-local-map" (nth 1 entry)))))
-      (when (and (boundp (nth 0 entry))
-                 (symbol-value (nth 0 entry))
+      (when (and (nth 0 entry)
                  (boundp map)
                  (keymapp (symbol-value map)))
         (define-key (symbol-value map) (nth 2 entry) (nth 3 entry))))))



reply via email to

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