branch: master
commit b5f706398e7114314f34ea2096794cfec964ed30
Author: Justin Burkett <[email protected]>
Commit: Justin Burkett <[email protected]>
Detect menu-items in which-key--get-keymap-bindings
---
which-key.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/which-key.el b/which-key.el
index c4900e7..765fd37 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1673,6 +1673,7 @@ ones. PREFIX is for internal use and should not be used."
((keymapp def) "Prefix Command")
((symbolp def) (copy-sequence (symbol-name def)))
((eq 'lambda (car-safe def)) "lambda")
+ ((eq 'menu-item (car-safe def)) "menu-item")
(t (format "%s" def))))
bindings :test (lambda (a b) (string= (car a) (car b))))))))
keymap)