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

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

[nongnu] elpa/bind-map 24d453a1e8 55/97: Call evil-normalize-maps for ev


From: ELPA Syncer
Subject: [nongnu] elpa/bind-map 24d453a1e8 55/97: Call evil-normalize-maps for evil-keys
Date: Thu, 20 Jan 2022 07:59:20 -0500 (EST)

branch: elpa/bind-map
commit 24d453a1e8e588eaffc9229b7ff28cc0feac7fd8
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@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

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