From 5b37abcbe74ae5012802eacaba3235e310905949 Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Tue, 8 Sep 2020 18:59:30 -0400 Subject: [PATCH] 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 a25337f3d9a..1dbdd08400b 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))))