branch: externals/which-key
commit 5b37abcbe74ae5012802eacaba3235e310905949
Author: Justin Burkett <[email protected]>
Commit: Justin Burkett <[email protected]>

    Fix which-key--next-page-hint
    
    prefix-keys might be a vector.
    
    Fixes #265
---
 which-key.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/which-key.el b/which-key.el
index a25337f..1dbdd08 100644
--- a/which-key.el
+++ b/which-key.el
@@ -2126,8 +2126,9 @@ max-lines max-width avl-lines avl-width 
(which-key--pages-height result))
                   (concat key " or " which-key-paging-key)
                 key)))
     (when (and which-key-use-C-h-commands
-               (not (string-equal (char-to-string help-char)
-                                  (kbd prefix-keys))))
+               (or (not (stringp (kbd prefix-keys)))
+                   (not (string-equal (char-to-string help-char)
+                                      (kbd prefix-keys)))))
       (which-key--propertize (format "[%s paging/help]" key)
                              'face 'which-key-note-face))))
 

Reply via email to