[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bind-map f2f7dfefbd 07/97: Assume :keys and :evil-keys are
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bind-map f2f7dfefbd 07/97: Assume :keys and :evil-keys are lists |
Date: |
Thu, 20 Jan 2022 07:58:50 -0500 (EST) |
branch: elpa/bind-map
commit f2f7dfefbdb35c5d7b41cd9ba444032408fd8351
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>
Assume :keys and :evil-keys are lists
---
bind-map.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/bind-map.el b/bind-map.el
index 7bc80e0347..ae18429a8b 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -103,14 +103,8 @@ Declare a prefix command for MAP named COMMAND-NAME."
(activate (intern (format "%s-activate" map)))
(activate-func (intern (format "%s-activate-function" map)))
(prefix-cmd (plist-get args :prefix-cmd))
- (keys (when (plist-get args :keys)
- (if (listp (plist-get args :keys))
- (mapcar 'kbd (plist-get args :keys))
- (list (kbd (plist-get args :keys))))))
- (evil-keys (when (plist-get args :evil-keys)
- (if (listp (plist-get args :evil-keys))
- (mapcar 'kbd (plist-get args :evil-keys))
- (list (kbd (plist-get args :evil-keys))))))
+ (keys (mapcar 'kbd (plist-get args :keys)))
+ (evil-keys (mapcar 'kbd (plist-get args :evil-keys)))
(evil-states (or (plist-get args :evil-states)
bind-map-default-evil-states))
(minor-modes (plist-get args :minor-modes))
- [nongnu] branch elpa/bind-map created (now 510a24138d), ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 6e19e536fc 03/97: Add link to evil-leader, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map f2f7dfefbd 07/97: Assume :keys and :evil-keys are lists,
ELPA Syncer <=
- [nongnu] elpa/bind-map 3a2f1d8074 01/97: Initial commit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 115e0459bf 05/97: Bring back set-keys function, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map d7aee3c6ab 09/97: Note helper funcs in README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map a8a2937ecc 38/97: Minor tweak to previous commit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map faaa33d909 77/97: Prefer eval-after-load to require for evil funcs, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 61fe55e097 17/97: Can't simply use cl-pushnew, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 5508980148 69/97: Account for multiple declarations of the same map, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b05ea98102 37/97: Add option to use local state maps, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 7d20946692 04/97: Add autoloads, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 7de08fe592 43/97: Move a defvar and reword docstring, ELPA Syncer, 2022/01/20