(gnus-set-mode-line): Don't pad the mode line string.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 5 Sep 2010 19:54:31 +0000 (21:54 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 5 Sep 2010 19:54:31 +0000 (21:54 +0200)
lisp/ChangeLog
lisp/gnus-sum.el

index 45cc19e..b3e2009 100644 (file)
@@ -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.
 
index 37cf4a1..a99426a 100644 (file)
@@ -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)))