Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 8adbc25

Browse files
jeremy-bryantjustbur
authored andcommitted
Use null for clarity
* which-key.el (which-key--show-evil-operator-keymap): Use null for clarity of zero length.
1 parent 2c9f941 commit 8adbc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

which-key.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ KEYMAP is selected interactively by mode in
26592659
(let ((formatted-keys
26602660
(which-key--get-bindings
26612661
nil keymap #'which-key--evil-operator-filter)))
2662-
(cond ((= (length formatted-keys) 0)
2662+
(cond ((null formatted-keys)
26632663
(message "which-key: Keymap empty"))
26642664
((listp which-key-side-window-location)
26652665
(setq which-key--last-try-2-loc

0 commit comments

Comments
 (0)