From 605e5bfc7960eaf6001d47192a1f7401effa463c Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 24 Nov 2022 14:48:58 +0100 Subject: 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 0eba027..bb1dd42 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)))) -- cgit v1.0