branch: elpa/bind-map
commit 2a5fcbd947bb466a4be4ee2cb8458be0e209f5a4
Author: justbur <jus...@burkett.cc>
Commit: justbur <jus...@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