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

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

[elpa] externals/corfu 4585163 1/2: corfu--format-candidates: Ensure tha


From: ELPA Syncer
Subject: [elpa] externals/corfu 4585163 1/2: corfu--format-candidates: Ensure that corfu-min-width is respected
Date: Mon, 8 Nov 2021 05:57:15 -0500 (EST)

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

    corfu--format-candidates: Ensure that corfu-min-width is respected
---
 corfu.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/corfu.el b/corfu.el
index 4460039..6918757 100644
--- a/corfu.el
+++ b/corfu.el
@@ -605,10 +605,9 @@ completion began less than that number of seconds ago."
                (concat prefix
                        (make-string (- pw (string-width prefix)) ?\s)
                        cand
-                       (unless (eq suffix "")
-                         (make-string (+ (- cw (string-width cand))
-                                         (- sw (string-width suffix)))
-                                      ?\s))
+                       (make-string (+ (- cw (string-width cand))
+                                       (- sw (string-width suffix)))
+                                    ?\s)
                        suffix)
                width))
             cands)))



reply via email to

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