[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bind-map 32a3361b3b 67/97: Bring back evil-define-minor-mo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bind-map 32a3361b3b 67/97: Bring back evil-define-minor-mode-key |
Date: |
Thu, 20 Jan 2022 07:59:24 -0500 (EST) |
branch: elpa/bind-map
commit 32a3361b3bcbb2f494c80473b19da75e9f71795a
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>
Bring back evil-define-minor-mode-key
Upstream bug was fixed
---
bind-map.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bind-map.el b/bind-map.el
index da4b62a2e3..4070d68864 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -296,8 +296,14 @@ 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)
- (define-key (evil-get-auxiliary-keymap ,root-map state t)
- key ',prefix-cmd))))
+ (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))))))
;; bind in global maps and possibly root-map
`((dolist (key (bind-map-kbd-keys (list ,@keys)))
(when ,override-minor-modes
- [nongnu] elpa/bind-map 281a56c332 16/97: Fix major-mode-list, (continued)
- [nongnu] elpa/bind-map 281a56c332 16/97: Fix major-mode-list, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map db9d72efcd 31/97: Better version of bind-map-key, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 76f742191b 24/97: Add gitignore, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 74e9defb60 25/97: Fix doctrings for recent additions, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 38dc69ab80 49/97: Make sure major-mode keys are activated initially, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map df2f5081e1 27/97: Use custom kbd command, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b30c22f7f9 33/97: Report symbol name in previously added error msg, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 7ab7ae8dd3 62/97: Fix cask file, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8e3df1f4cf 36/97: Use add-to-list for mm list and defvar prefix, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map ce11d259bf 42/97: Update commentary to match README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 32a3361b3b 67/97: Bring back evil-define-minor-mode-key,
ELPA Syncer <=
- [nongnu] elpa/bind-map 56e4a914c2 82/97: Fix tests, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 797c2124f8 86/97: Restructure tests, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 6e1ba6edbd 94/97: Update README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 873c26d467 89/97: Get basic inheritance tests working, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 6977e0fec5 96/97: Bump version to 1.1.2, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b59d7bbab7 40/97: Add note about dependence on evil to README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 5c6f17939c 28/97: Get rid of eval-after-loads to fix evil bindings, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 80c38c4052 61/97: Add badges, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 4cccf8fb82 23/97: Add configuration var for default map suffix, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 7a4d329a60 18/97: Correct wrong package names, ELPA Syncer, 2022/01/20