1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 00:10:48 -08:00

Fix which-key--next-page-hint

prefix-keys might be a vector.

Fixes #265
This commit is contained in:
Justin Burkett 2020-09-08 18:59:30 -04:00
parent a70fc16adc
commit 5b37abcbe7

View file

@ -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))))