[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/posframe 3eb091f 1/3: * posframe.el (posframe--set-fram
From: |
ELPA Syncer |
Subject: |
[elpa] externals/posframe 3eb091f 1/3: * posframe.el (posframe--set-frame-size): Always fit buffer to frame at first. |
Date: |
Wed, 3 Nov 2021 00:58:20 -0400 (EDT) |
branch: externals/posframe
commit 3eb091fed98419b80c2192f402a592da452ce8aa
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* posframe.el (posframe--set-frame-size): Always fit buffer to frame at
first.
---
posframe.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/posframe.el b/posframe.el
index 4f8d12e..fbb85dd 100644
--- a/posframe.el
+++ b/posframe.el
@@ -789,9 +789,8 @@ function `fit-frame-to-buffer''s."
"Set POSFRAME's size.
It will set the size by the POSFRAME's HEIGHT, MIN-HEIGHT
WIDTH and MIN-WIDTH."
- (unless (and width height)
- (posframe--fit-frame-to-buffer
- posframe max-height min-height max-width min-width))
+ (posframe--fit-frame-to-buffer
+ posframe max-height min-height max-width min-width)
(when height (set-frame-height posframe height))
(when width (set-frame-width posframe width))
(setq-local posframe--last-posframe-size