branch: elpa/popup commit e5794f80c701d893f961dc1e9ca1f375ffdb104b Author: Takafumi Arakaki <aka....@gmail.com> Commit: Takafumi Arakaki <aka....@gmail.com>
Truncate summary when it is too long --- popup.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/popup.el b/popup.el index 34d3ad8..8204ea9 100644 --- a/popup.el +++ b/popup.el @@ -414,7 +414,9 @@ usual." (concat margin-left string (make-string spacing ? ) - summary + (car + (popup-substring-by-width + summary (max (- popup-width string-width spacing) 0))) symbol margin-right)))