[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/posframe b71b530 05/16: Simplify posframe--set-frame-si
From: |
Feng Shu |
Subject: |
[elpa] externals/posframe b71b530 05/16: Simplify posframe--set-frame-size |
Date: |
Thu, 21 May 2020 00:57:30 -0400 (EDT) |
branch: externals/posframe
commit b71b530ff73b56f956097d844db2cd66dc0e632b
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>
Simplify posframe--set-frame-size
---
posframe.el | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/posframe.el b/posframe.el
index 1a5041e..d93c5d3 100644
--- a/posframe.el
+++ b/posframe.el
@@ -649,17 +649,10 @@ will be removed."
"Set POSFRAME's size.
It will set the size by the POSFRAME's HEIGHT, MIN-HEIGHT
WIDTH and MIN-WIDTH."
- (if (and width height)
- (unless (equal posframe--last-posframe-size
- (list height min-height width min-width))
- (fit-frame-to-buffer
- posframe height min-height width min-width)
- (setq-local posframe--last-posframe-size
- (list height min-height width min-width)))
- (fit-frame-to-buffer
- posframe height min-height width min-width)
- (setq-local posframe--last-posframe-size
- (list height min-height width min-width))))
+ (fit-frame-to-buffer
+ posframe height min-height width min-width)
+ (setq-local posframe--last-posframe-size
+ (list height min-height width min-width)))
(defun posframe--set-frame-position (posframe position
parent-frame-width
- [elpa] externals/posframe updated (83b4d39 -> 093b29a), Feng Shu, 2020/05/21
- [elpa] externals/posframe 5dfb91d 03/16: Do not show message when x-get-resize-child-frames non-nil, Feng Shu, 2020/05/21
- [elpa] externals/posframe c18bea7 08/16: New variable: posframe-gtk-resize-child-frames, Feng Shu, 2020/05/21
- [elpa] externals/posframe d231039 10/16: Mention posframe-delete-all, Feng Shu, 2020/05/21
- [elpa] externals/posframe 05539c1 02/16: Note user when run gnome+gtk3, Feng Shu, 2020/05/21
- [elpa] externals/posframe 9cf47ff 01/16: Add information about x-get-resize-child-frames, Feng Shu, 2020/05/21
- [elpa] externals/posframe b71b530 05/16: Simplify posframe--set-frame-size,
Feng Shu <=
- [elpa] externals/posframe 095d744 09/16: Add a comment, Feng Shu, 2020/05/21
- [elpa] externals/posframe d058221 06/16: Improve GNOME/GTK3 info, Feng Shu, 2020/05/21
- [elpa] externals/posframe cb1a09e 04/16: Fix width, height, min-width, min-height doc. #58, Feng Shu, 2020/05/21
- [elpa] externals/posframe 102eb8c 07/16: Use posframe-hack, Feng Shu, 2020/05/21
- [elpa] externals/posframe e24413c 12/16: Merge branch 'master' into posframe-gtk-resize-child-frames, Feng Shu, 2020/05/21
- [elpa] externals/posframe 7c173ee 14/16: Update README, Feng Shu, 2020/05/21
- [elpa] externals/posframe 40938a5 13/16: Merge pull request #60 from dgutov/posframe-gtk-resize-child-frames, Feng Shu, 2020/05/21
- [elpa] externals/posframe e62e584 15/16: Fix previous merge, Feng Shu, 2020/05/21
- [elpa] externals/posframe f864f0f 11/16: Always declare x-gtk-resize-child-frames as special, Feng Shu, 2020/05/21
- [elpa] externals/posframe 093b29a 16/16: posframe-show: Add respect-tab-line argument #61, Feng Shu, 2020/05/21