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

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

[nongnu] elpa/bind-map b0b9e18947 66/97: Revert last commit


From: ELPA Syncer
Subject: [nongnu] elpa/bind-map b0b9e18947 66/97: Revert last commit
Date: Thu, 20 Jan 2022 07:59:24 -0500 (EST)

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

    Revert last commit
    
    This reverts commit 988f14eb77baeeaa7440defd27b38e517e111f08.
---
 bind-map.el | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/bind-map.el b/bind-map.el
index 4070d68864..da4b62a2e3 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -296,14 +296,8 @@ mode maps. Set up by bind-map.el." map))
              (define-key ,root-map key ',prefix-cmd))
            (dolist (key (bind-map-kbd-keys (list ,@evil-keys)))
              (dolist (state ',evil-states)
-               (when ',major-modes
-                 (define-key
-                   (evil-get-auxiliary-keymap ,root-map state t)
-                   key ',prefix-cmd))
-               (dolist (mode ',minor-modes)
-                 (when (fboundp 'evil-define-minor-mode-key)
-                   (evil-define-minor-mode-key
-                    state mode key ',prefix-cmd))))))
+               (define-key (evil-get-auxiliary-keymap ,root-map state t)
+                 key ',prefix-cmd))))
        ;; bind in global maps and possibly root-map
        `((dolist (key (bind-map-kbd-keys (list ,@keys)))
            (when ,override-minor-modes



reply via email to

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