branch: externals/which-key
commit 8adbc25c390bb6c2b1359e17cca08fd90be6ba3e
Author: Jeremy Bryant <[email protected]>
Commit: Justin Burkett <[email protected]>
Use null for clarity
* which-key.el (which-key--show-evil-operator-keymap): Use null for
clarity of zero length.
---
which-key.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/which-key.el b/which-key.el
index 8c6d4236b1..0c38a1a1bc 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