aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--which-key.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/which-key.el b/which-key.el
index 312272c6b7b..d0a28a10589 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1167,7 +1167,8 @@ is shown, or if there is no need to start the closing timer."
1167 "Slightly modified version of `fit-buffer-to-window'. 1167 "Slightly modified version of `fit-buffer-to-window'.
1168Use &rest params because `fit-buffer-to-window' has a different 1168Use &rest params because `fit-buffer-to-window' has a different
1169call signature in different emacs versions" 1169call signature in different emacs versions"
1170 (let ((fit-window-to-buffer-horizontally t)) 1170 (let ((fit-window-to-buffer-horizontally t)
1171 (window-min-height 1))
1171 (apply #'fit-window-to-buffer window params))) 1172 (apply #'fit-window-to-buffer window params)))
1172 1173
1173(defun which-key--show-buffer-side-window (act-popup-dim) 1174(defun which-key--show-buffer-side-window (act-popup-dim)