[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bind-map 292794739c 71/97: Fix incorrect check of override
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bind-map 292794739c 71/97: Fix incorrect check of override mode in local hook |
Date: |
Thu, 20 Jan 2022 07:59:25 -0500 (EST) |
branch: elpa/bind-map
commit 292794739c929e4bb9fdf13f0c5736ad3f0fcbf8
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>
Fix incorrect check of override mode in local hook
---
bind-map.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bind-map.el b/bind-map.el
index 90361557ef..296c8ad527 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -130,7 +130,8 @@ 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 (nth 0 entry)
+ (when (and (boundp (nth 0 entry))
+ (symbol-value (nth 0 entry))
(boundp map)
(keymapp (symbol-value map)))
(define-key (symbol-value map) (nth 2 entry) (nth 3 entry))))))
- [nongnu] elpa/bind-map 6d05297e3c 20/97: Add another example and more detail to README, (continued)
- [nongnu] elpa/bind-map 6d05297e3c 20/97: Add another example and more detail to README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map d47be94d23 63/97: Don't try to bind keys that are nil or "", ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map ebc4c9fb11 34/97: Remove bind-map-kbd hack, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8ec4516db2 48/97: Remove use of evil-define-key, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map c182707793 41/97: Remove unnecessary helper functions and reorg, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b0b9e18947 66/97: Revert last commit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map f51d4b0c0d 79/97: Add bind-map-for-modes-derived, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 21b7ba7eca 30/97: Fix some docstrings, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map cc1db8958c 64/97: Version 0.1, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 988f14eb77 65/97: Use evil-define-minor-mode-key for minor-mode keys, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 292794739c 71/97: Fix incorrect check of override mode in local hook,
ELPA Syncer <=
- [nongnu] elpa/bind-map b187069313 22/97: Add short versions for single major/minor mode, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map d45971cd40 46/97: Use minor mode for overriding behavior, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8d6b489feb 50/97: Add some basic tests, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 24d453a1e8 55/97: Call evil-normalize-maps for evil-keys, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b47b98455f 87/97: Simplify macro exp. for bind-mapfor-mode-inherit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 078c522f6e 93/97: Fix Makefile, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map ffe5e63617 92/97: Version 1.1.0, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 46438e30c8 02/97: README formatting, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map f835ed39fe 06/97: Minor changes, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8dea8e8f91 10/97: Grammatical fix in README, ELPA Syncer, 2022/01/20