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

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

[nongnu] elpa/popup b8c1cb4 054/184: At least one space before summary,


From: ELPA Syncer
Subject: [nongnu] elpa/popup b8c1cb4 054/184: At least one space before summary, if possible
Date: Wed, 6 Oct 2021 00:01:05 -0400 (EDT)

branch: elpa/popup
commit b8c1cb49c9572a86024a379aff3a4d48569ffdac
Author: Takafumi Arakaki <aka.tkf@gmail.com>
Commit: Takafumi Arakaki <aka.tkf@gmail.com>

    At least one space before summary, if possible
---
 popup.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/popup.el b/popup.el
index 703c1b9..e4c79a7 100644
--- a/popup.el
+++ b/popup.el
@@ -412,7 +412,8 @@ usual."
                               0))))
          (string (car (popup-substring-by-width string content-width)))
          (string-width (string-width string))
-         (spacing (max (- popup-width string-width summary-width) 0)))
+         (spacing (max (- popup-width string-width summary-width)
+                       (if (> popup-width string-width) 1 0))))
     (concat margin-left
             string
             (make-string spacing ? )



reply via email to

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