mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 07:51:17 -08:00
Fix short windows being resized
fit-window-to-buffer defaults to a min height of 4. For some reason, the order in which fit-window-to-buffer is called in display-buffer-in-side-window seems to have changed. This makes the order not matter.
This commit is contained in:
parent
6e4b4c5419
commit
9ff54fffbb
1 changed files with 2 additions and 1 deletions
|
|
@ -1167,7 +1167,8 @@ is shown, or if there is no need to start the closing timer."
|
|||
"Slightly modified version of `fit-buffer-to-window'.
|
||||
Use &rest params because `fit-buffer-to-window' has a different
|
||||
call signature in different emacs versions"
|
||||
(let ((fit-window-to-buffer-horizontally t))
|
||||
(let ((fit-window-to-buffer-horizontally t)
|
||||
(window-min-height 1))
|
||||
(apply #'fit-window-to-buffer window params)))
|
||||
|
||||
(defun which-key--show-buffer-side-window (act-popup-dim)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue