diff --git a/which-key.el b/which-key.el index 8c6d423..0c38a1a 100644 --- a/which-key.el +++ b/which-key.el @@ -2659,7 +2659,7 @@ KEYMAP is selected interactively by mode in (let ((formatted-keys (which-key--get-bindings nil keymap #'which-key--evil-operator-filter))) - (cond ((= (length formatted-keys) 0) + (cond ((null formatted-keys) (message "which-key: Keymap empty")) ((listp which-key-side-window-location) (setq which-key--last-try-2-loc