[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 605e5bfc79 2/3: Add comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 605e5bfc79 2/3: Add comment |
Date: |
Thu, 24 Nov 2022 08:57:26 -0500 (EST) |
branch: externals/corfu
commit 605e5bfc7960eaf6001d47192a1f7401effa463c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add comment
---
extensions/corfu-popupinfo.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index 0eba0279ca..bb1dd4287a 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -235,6 +235,8 @@ all values are in pixels relative to the origin. See
;; since lines will get wrapped.
(when (<= (car size) max-width)
(cons (+ margin (car size))
+ ;; Ensure that popup has at least a height of 1,
+ ;; which is the minimum frame height (#261).
(min (max (cdr size) lh) max-height))))))
(cons (+ margin max-width) max-height))))