mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-01 11:20:41 -08:00
parent
cddf125c36
commit
7f96e4d86b
1 changed files with 3 additions and 1 deletions
|
|
@ -196,8 +196,10 @@ bottom."
|
|||
"Fill which-key--buffer with key descriptions and reformat.
|
||||
Finally, show the buffer."
|
||||
(let ((prefix-keys (this-single-command-keys)))
|
||||
;; (when (> (length prefix-keys) 0) (message "key: %s" (key-description prefix-keys)))
|
||||
;; (when (> (length prefix-keys) 0) (message "key binding: %s" (key-binding prefix-keys)))
|
||||
(when (and (> (length prefix-keys) 0)
|
||||
(not (symbolp (key-binding prefix-keys))))
|
||||
(keymapp (key-binding prefix-keys)))
|
||||
(let* ((buf (current-buffer))
|
||||
;; get formatted key bindings
|
||||
(fmt-width-cons (which-key/get-formatted-key-bindings buf prefix-keys))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue