[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 0e360c6cd7 2/3: Minor cleanup
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 0e360c6cd7 2/3: Minor cleanup |
Date: |
Tue, 5 Nov 2024 06:57:46 -0500 (EST) |
branch: externals/corfu
commit 0e360c6cd7b0c30eff60a21ba701922dca4d7648
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Minor cleanup
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index 529f642f40..c5a3729932 100644
--- a/corfu.el
+++ b/corfu.el
@@ -744,7 +744,7 @@ FRAME is the existing frame."
(sw (cl-loop for x in cands maximize (string-width (caddr x))))
(width (min (max corfu--width corfu-min-width (+ pw cw sw))
;; -4 because of margins and some additional safety
- (min corfu-max-width (- (frame-width) 4))))
+ corfu-max-width (- (frame-width) 4)))
(trunc (not (display-graphic-p))))
(setq corfu--width width)
(list pw width