branch: elpa/popup commit b8c1cb49c9572a86024a379aff3a4d48569ffdac Author: Takafumi Arakaki <aka....@gmail.com> Commit: Takafumi Arakaki <aka....@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 ? )