branch: elpa/bind-map
commit 24d453a1e8e588eaffc9229b7ff28cc0feac7fd8
Author: justbur <jus...@burkett.cc>
Commit: justbur <jus...@burkett.cc>

    Call evil-normalize-maps for evil-keys
    
    In case the evil bindings need to be available immediately.
---
 bind-map.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bind-map.el b/bind-map.el
index b549048561..f9418ce63f 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -298,7 +298,9 @@ mode maps. Set up by bind-map.el." map))
              (when ,override-minor-modes
                (push (list ',override-mode state (kbd key) ',prefix-cmd)
                      bind-map-evil-local-bindings))
-             (evil-global-set-key state (kbd key) ',prefix-cmd)))))))
+             (evil-global-set-key state (kbd key) ',prefix-cmd))))
+
+       (when ',evil-keys (evil-normalize-keymaps)))))
 (put 'bind-map 'lisp-indent-function 'defun)
 
 ;;;###autoload

Reply via email to