From 29d31b5515f82d76050786891042bf0c0441b88e Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 6 Sep 2010 00:37:02 +0000 Subject: [PATCH] gnus-sum.el (gnus-set-mode-line): Don\t pad the mode line string. --- lisp/gnus/ChangeLog | 2 ++ lisp/gnus/gnus-sum.el | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 45018de0e4f..6a02792642d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,7 @@ 2010-09-05 Lars Magne Ingebrigtsen + * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string. + * nnimap.el (nnimap-open-connection): Revert the change that would look into authinfo for imaps instead of imap. diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 37cf4a11472..a99426ad83f 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -6051,9 +6051,7 @@ If WHERE is `summary', the summary mode line format will be used." (when (> (length mode-string) max-len) (setq mode-string (concat (truncate-string-to-width mode-string (- max-len 3)) - "..."))) - ;; Pad the mode string a bit. - (setq mode-string (format (format "%%-%ds" max-len) mode-string)))) + "..."))))) ;; Update the mode line. (setq mode-line-buffer-identification (gnus-mode-line-buffer-identification (list mode-string))) -- 2.39.2