[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key 7abe54f 31/32: Handle closure definition type
From: |
ELPA Syncer |
Subject: |
[elpa] externals/which-key 7abe54f 31/32: Handle closure definition type |
Date: |
Wed, 30 Jun 2021 18:57:32 -0400 (EDT) |
branch: externals/which-key
commit 7abe54fa1d4aa714d9414bc6877ef2124ce126fe
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>
Handle closure definition type
Fixes #311
---
which-key.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/which-key.el b/which-key.el
index 67b185f..1213d14 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1790,11 +1790,15 @@ Requires `which-key-compute-remaps' to be non-nil"
((keymapp def) "prefix")
((symbolp def) (which-key--compute-binding def))
((eq 'lambda (car-safe def)) "lambda")
+ ((eq 'closure (car-safe def)) "closure")
((stringp def) def)
((vectorp def) (key-description def))
- ((consp def) (concat (when (keymapp (cdr-safe def))
- "group:")
- (car def)))
+ ((and (consp def)
+ ;; looking for (STRING . DEFN)
+ (stringp (car def)))
+ (concat (when (keymapp (cdr-safe def))
+ "group:")
+ (car def)))
(t "unknown")))))
(when (or (null filter)
(and (functionp filter)
- [elpa] externals/which-key a55b908 04/32: Alternative approach to retrieving bindings (WIP), (continued)
- [elpa] externals/which-key a55b908 04/32: Alternative approach to retrieving bindings (WIP), ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 1f9c37d 03/32: Merge pull request #305 from tarsiiformes/first-line, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 4e592ed 08/32: Fix type usage and arglists for new functions, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key d6b56f3 13/32: Fix detection of named prefix bindings, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 2444833 12/32: Fix menu-item bidning retrieval, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 7d344ce 17/32: Fix test, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 300c098 16/32: Update README, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 3f76f51 20/32: Fix which-key--group-p, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 8b707ef 15/32: Make enable-extended-define-key obsolete, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key b83c0de 27/32: Clean up which-key--maybe-replace, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 7abe54f 31/32: Handle closure definition type,
ELPA Syncer <=