diff options
| author | Jiangbin Zhao | 2021-05-23 14:07:53 -0700 |
|---|---|---|
| committer | Jiangbin Zhao | 2021-05-23 14:48:29 -0700 |
| commit | 7927209c1bec93920bf68cf36ddd6832317a0ae7 (patch) | |
| tree | 685695b979b5d4cb49a9c5d43fee0b2115c09a3e /java/res/values | |
| parent | 5fb30301cb3b4fca5a0e1ce8ec1ef59290b79199 (diff) | |
| download | emacs-7927209c1bec93920bf68cf36ddd6832317a0ae7.tar.gz emacs-7927209c1bec93920bf68cf36ddd6832317a0ae7.zip | |
fix which-key--show-keymap for which-key-enable-extended-define-key
With which-key-enable-extended-define-key set to 't, given the keymap
and bindings below:
(setq a-map (make-sparse-keymap))
(bind-keys :map a-map
("a" . ("key 1" . command-1))
("b" . ("key b" . command-2)))
The output of (which-key--get-keymap-bindings a-map) was having
"unknown" as the key descriptions.
This change fixes it therefore allows the following to work as
expected:
(which-key--show-keymap "A map" a-map)
Diffstat (limited to 'java/res/values')
0 files changed, 0 insertions, 0 deletions