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

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

[elpa] externals/posframe d75dc15 26/40: Fix: Frame not tall enough if l


From: Feng Shu
Subject: [elpa] externals/posframe d75dc15 26/40: Fix: Frame not tall enough if line-spacing > 0 #48
Date: Wed, 5 Feb 2020 04:27:21 -0500 (EST)

branch: externals/posframe
commit d75dc1547a6a1cc2b385c736880eee77d7981aec
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>

    Fix: Frame not tall enough if line-spacing > 0 #48
---
 posframe.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index db35ce6..561ba3f 100644
--- a/posframe.el
+++ b/posframe.el
@@ -606,7 +606,8 @@ WIDTH and MIN-WIDTH."
   (if (and width height)
       (unless (equal posframe--last-posframe-size
                      (cons width height))
-        (set-frame-size posframe width height)
+        (fit-frame-to-buffer
+         posframe height min-height width min-width)
         (setq-local posframe--last-posframe-size
                     (cons width height)))
     (fit-frame-to-buffer



reply via email to

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