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

Commit

Permalink
Use null for clarity
Browse files Browse the repository at this point in the history
* which-key.el (which-key--show-evil-operator-keymap): Use null for
clarity of zero length.
  • Loading branch information
jeremy-bryant authored and justbur committed Apr 9, 2024
1 parent 2c9f941 commit 8adbc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion which-key.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8adbc25

Please sign in to comment.