branch: externals/which-key
commit f9d8d49d1f955202514196de23369d61a42d816c
Author: Yunhao Zhao <[email protected]>
Commit: GitHub <[email protected]>
Fix prefix argument for which-key-show-major-mode (#239)
---
which-key.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/which-key.el b/which-key.el
index e5127ee..8c88b44 100644
--- a/which-key.el
+++ b/which-key.el
@@ -2317,7 +2317,7 @@ after first page."
This function will also detect evil bindings made using
`evil-define-key' in this map. These bindings will depend on the
current evil state. "
- (interactive)
+ (interactive "P")
(let ((map-sym (intern (format "%s-map" major-mode))))
(if (and (boundp map-sym) (keymapp (symbol-value map-sym)))
(which-key--show-keymap