Use … in Gnus mode lines (when shortening them)
* lisp/gnus/gnus-sum.el (gnus-set-mode-line): Defer ellipsis creation to `truncate-string-to-width' (bug#41250). This uses … by default.
This commit is contained in:
parent
d494833d47
commit
7301bf996e
1 changed files with 2 additions and 2 deletions
|
@ -6240,8 +6240,8 @@ If WHERE is `summary', the summary mode line format will be used."
|
|||
;; We might have to chop a bit of the string off...
|
||||
(when (> (length mode-string) max-len)
|
||||
(setq mode-string
|
||||
(concat (truncate-string-to-width mode-string (- max-len 3))
|
||||
"...")))))
|
||||
(truncate-string-to-width
|
||||
mode-string (- max-len 3) nil nil t)))))
|
||||
;; Update the mode line.
|
||||
(setq mode-line-buffer-identification
|
||||
(gnus-mode-line-buffer-identification (list mode-string)))
|
||||
|
|
Loading…
Add table
Reference in a new issue