aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Bryant2024-03-01 22:46:55 +0000
committerJustin Burkett2024-03-02 20:29:23 -0500
commit9b33ccc293d215b36d375fc735ba5abda3332492 (patch)
tree9f1d6260f79e23d2b2e170144a50077d899fd4fa
parentacaf5436576f8ad8fa736c93e6ee618b4b371d55 (diff)
downloademacs-9b33ccc293d215b36d375fc735ba5abda3332492.tar.gz
emacs-9b33ccc293d215b36d375fc735ba5abda3332492.zip
Replace member by memq for clarity
* which-key.el (which-key--side-window-max-dimensions): Replace member by memq.
-rw-r--r--which-key.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/which-key.el b/which-key.el
index c522f59a26b..9623c729b92 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1448,7 +1448,7 @@ characters respectively."
1448 which-key-side-window-max-height)) 1448 which-key-side-window-max-height))
1449 ;; width 1449 ;; width
1450 (max 0 1450 (max 0
1451 (- (if (member which-key-side-window-location '(left right)) 1451 (- (if (memq which-key-side-window-location '(left right))
1452 (which-key--total-width-to-text 1452 (which-key--total-width-to-text
1453 (which-key--width-or-percentage-to-width 1453 (which-key--width-or-percentage-to-width
1454 which-key-side-window-max-width)) 1454 which-key-side-window-max-width))