emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/which-key f9d8d49 39/51: Fix prefix argument for which-


From: Stefan Monnier
Subject: [elpa] externals/which-key f9d8d49 39/51: Fix prefix argument for which-key-show-major-mode (#239)
Date: Tue, 8 Sep 2020 10:26:20 -0400 (EDT)

branch: externals/which-key
commit f9d8d49d1f955202514196de23369d61a42d816c
Author: Yunhao Zhao <yunhaozhaots@gmail.com>
Commit: GitHub <noreply@github.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]