emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/popper 2be084a77c 045/102: Set a minimum window size (#


From: ELPA Syncer
Subject: [elpa] externals/popper 2be084a77c 045/102: Set a minimum window size (#9)
Date: Fri, 8 Sep 2023 15:58:52 -0400 (EDT)

branch: externals/popper
commit 2be084a77cc2bc79ea7dc23edada161f4ff6dfdb
Author: Russell Sim <russell.sim@gmail.com>
Commit: GitHub <noreply@github.com>

    Set a minimum window size (#9)
    
    The minimum size of the window created by `popper-select-popup-at-bottom` 
is now the frame height / 6, not `window-min-height`.
---
 popper.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/popper.el b/popper.el
index d9a5048c22..2d46694637 100644
--- a/popper.el
+++ b/popper.el
@@ -193,7 +193,8 @@ grouped by the predicate `popper-group-function'.")
                  '((window-height . (lambda (win)
                                       (fit-window-to-buffer
                                        win
-                                       (floor (frame-height) 3))))
+                                       (floor (frame-height) 3)
+                                       (floor (frame-height) 6))))
                    (side . bottom)
                    (slot . 1)))))
     (select-window window)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]