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

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

[elpa] externals/corfu bafd813742 2/2: corfu-popupinfo: Compute popup si


From: ELPA Syncer
Subject: [elpa] externals/corfu bafd813742 2/2: corfu-popupinfo: Compute popup size from smaller area
Date: Sat, 19 Nov 2022 14:57:26 -0500 (EST)

branch: externals/corfu
commit bafd81374286c6fead82b277589ad4e2002fdc85
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    corfu-popupinfo: Compute popup size from smaller area
---
 extensions/corfu-popupinfo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index c426040d80..879ab79243 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -205,7 +205,7 @@ all values are in pixels relative to the origin. See
                        ((window-buffer) (current-buffer))
                        (size (window-text-pixel-size
                               nil (point-min) (point-max)
-                              (* 2 max-width) (* 2 max-height))))
+                              max-width max-height)))
               (cons (min (+ margin (car size)) max-width)
                     (min (cdr size) max-height))))
       (cons max-width max-height))))



reply via email to

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