[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key 9ff54ff 37/51: Fix short windows being resize
From: |
Stefan Monnier |
Subject: |
[elpa] externals/which-key 9ff54ff 37/51: Fix short windows being resized |
Date: |
Tue, 8 Sep 2020 10:26:20 -0400 (EDT) |
branch: externals/which-key
commit 9ff54fffbb20ad92361aeeae4bc5966dbe793dd0
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>
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.
---
which-key.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/which-key.el b/which-key.el
index 312272c..d0a28a1 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."
"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)
- [elpa] externals/which-key e048b2a 48/51: Stop testing against v24.5, (continued)
- [elpa] externals/which-key e048b2a 48/51: Stop testing against v24.5, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key d794c4a 51/51: Improve keymap-based-replacement description in README, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key cf8572a 07/51: which-key-persistent-popup-p -> which-key-persistent-popup, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 8554a9f 17/51: Generalize C-h commands to use help-char, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 5cec113 10/51: Announce which-key-manual-update, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key dcb9820 16/51: Default to imprecise window fitting on terminal, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key e554326 49/51: Remove testing badge from README, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key db3d003 21/51: Add full keymap versions of show-{major, minor}-mode, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 8b49ae9 42/51: Fix last commit, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key b11227b 23/51: Strip out advice in command docstrings, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 9ff54ff 37/51: Fix short windows being resized,
Stefan Monnier <=
- [elpa] externals/which-key 9550707 40/51: Merge remote-tracking branch 'hlissner/patch-1', Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 3642c11 45/51: Speed up which-key--maybe-replace, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key da1abb4 27/51: Fix previous commit, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 2b10b8e 50/51: Remove use of focus-{in, out}-hook, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 9d1de2f 20/51: Refactor regexp & fix incompatibility + error, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key c4b7aae 32/51: Revive Cask file, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key f9d8d49 39/51: Fix prefix argument for which-key-show-major-mode (#239), Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 8f2427a 43/51: Fix which-key--propertize-description use make-text-button return value (#249), Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 90d10a8 33/51: Fix sorting of keys and add test, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 42a2505 14/51: Rework implementation of manual updating, Stefan Monnier, 2020/09/08