(gnus-set-mode-line): Quote % in group name.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 29 Oct 2006 00:38:00 +0000 (00:38 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 29 Oct 2006 00:38:00 +0000 (00:38 +0000)
lisp/ChangeLog
lisp/gnus-sum.el

index f7e0601..3244a9f 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-sum.el (gnus-set-mode-line): Quote % in group name.
+
 2006-10-28  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus-agent.el (gnus-agent-make-mode-line-string): Make it compatible
index 8aaf67a..941c0f3 100644 (file)
@@ -5832,8 +5832,9 @@ If WHERE is `summary', the summary mode line format will be used."
        (let* ((mformat (symbol-value
                         (intern
                          (format "gnus-%s-mode-line-format-spec" where))))
-              (gnus-tmp-group-name (gnus-group-decoded-name
-                                    gnus-newsgroup-name))
+              (gnus-tmp-group-name (gnus-mode-string-quote
+                                    (gnus-group-decoded-name
+                                     gnus-newsgroup-name)))
               (gnus-tmp-article-number (or gnus-current-article 0))
               (gnus-tmp-unread gnus-newsgroup-unreads)
               (gnus-tmp-unread-and-unticked (length gnus-newsgroup-unreads))