changeset 110220:b38765bfe949

gnus-sum.el (gnus-set-mode-line): Don\t pad the mode line string.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 06 Sep 2010 00:37:02 +0000
parents cee903f20270
children f0d95837f863
files lisp/gnus/ChangeLog lisp/gnus/gnus-sum.el
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Mon Sep 06 00:33:15 2010 +0000
+++ b/lisp/gnus/ChangeLog	Mon Sep 06 00:37:02 2010 +0000
@@ -1,5 +1,7 @@
 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+	* 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.
 
--- a/lisp/gnus/gnus-sum.el	Mon Sep 06 00:33:15 2010 +0000
+++ b/lisp/gnus/gnus-sum.el	Mon Sep 06 00:37:02 2010 +0000
@@ -6051,9 +6051,7 @@
 	  (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)))