Skip to content

Commit

Permalink
Replace member by memq for clarity
Browse files Browse the repository at this point in the history
* which-key.el (which-key--side-window-max-dimensions):
Replace member by memq.
  • Loading branch information
jeremy-bryant authored and justbur committed Mar 3, 2024
1 parent acaf543 commit 9b33ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion which-key.el
Expand Up @@ -1448,7 +1448,7 @@ characters respectively."
which-key-side-window-max-height))
;; width
(max 0
(- (if (member which-key-side-window-location '(left right))
(- (if (memq which-key-side-window-location '(left right))
(which-key--total-width-to-text
(which-key--width-or-percentage-to-width
which-key-side-window-max-width))
Expand Down

0 comments on commit 9b33ccc

Please sign in to comment.