[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key 2165957 6/6: Allow binding to symbols in whic
From: |
ELPA Syncer |
Subject: |
[elpa] externals/which-key 2165957 6/6: Allow binding to symbols in which-key-C-h-dispatch |
Date: |
Thu, 25 Nov 2021 21:57:38 -0500 (EST) |
branch: externals/which-key
commit 2165957749e4874425b5c03f079b23725b331819
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>
Allow binding to symbols in which-key-C-h-dispatch
Fixes #326
---
which-key.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/which-key.el b/which-key.el
index 1daebc9..e55197e 100644
--- a/which-key.el
+++ b/which-key.el
@@ -2379,7 +2379,10 @@ prefix) if `which-key-use-C-h-commands' is non nil."
" 1..9"
which-key-separator "digit-arg"))
'face 'which-key-note-face)))
- (key (string (read-key prompt)))
+ (key (let ((key (read-key prompt)))
+ (if (numberp key)
+ (string key)
+ (vector key))))
(cmd (lookup-key which-key-C-h-map key))
(which-key-inhibit t))
(if cmd (funcall cmd key) (which-key-turn-page 0)))))))
- [elpa] externals/which-key updated (4790a14 -> 2165957), ELPA Syncer, 2021/11/25
- [elpa] externals/which-key 507292d 2/6: Add option (default off) to restore window configuration, ELPA Syncer, 2021/11/25
- [elpa] externals/which-key a8da871 4/6: Merge pull request #321 from fredericgiquel/preserve-window-configuration, ELPA Syncer, 2021/11/25
- [elpa] externals/which-key 2042f11 1/6: Preserve window configuration, ELPA Syncer, 2021/11/25
- [elpa] externals/which-key 2165957 6/6: Allow binding to symbols in which-key-C-h-dispatch,
ELPA Syncer <=
- [elpa] externals/which-key 9a3e50e 3/6: README.org: fix page flipping command names, ELPA Syncer, 2021/11/25
- [elpa] externals/which-key b73f791 5/6: Merge pull request #327 from anis-semmar/patch-1, ELPA Syncer, 2021/11/25