(gnus-group-line-format-alist): Keep the forward compatibility in %g and %c.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Dec 2004 13:12:14 +0000 (13:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Dec 2004 13:12:14 +0000 (13:12 +0000)
lisp/ChangeLog
lisp/gnus-group.el

index 16d448c..8e3dc4e 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-30  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-group.el (gnus-group-line-format-alist): Keep the forward
+       compatibility in %g and %c.
+
 2004-12-29  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-group.el (gnus-group-line-format-alist): Use decoded group
index 8fb193e..daed43b 100644 (file)
@@ -497,9 +497,15 @@ simple manner.")
     (?T (gnus-range-length (cdr (assq 'tick gnus-tmp-marked))) ?d)
     (?i (+ (gnus-range-length (cdr (assq 'dormant gnus-tmp-marked)))
           (gnus-range-length (cdr (assq 'tick gnus-tmp-marked)))) ?d)
-    (?g gnus-tmp-decoded-group ?s)
+    (?g (if (boundp 'gnus-tmp-decoded-group)
+           gnus-tmp-decoded-group
+         gnus-tmp-group)
+       ?s)
     (?G gnus-tmp-qualified-group ?s)
-    (?c (gnus-short-group-name gnus-tmp-decoded-group) ?s)
+    (?c (gnus-short-group-name (if (boundp 'gnus-tmp-decoded-group)
+                                  gnus-tmp-decoded-group
+                                gnus-tmp-group))
+       ?s)
     (?C gnus-tmp-comment ?s)
     (?D gnus-tmp-newsgroup-description ?s)
     (?o gnus-tmp-moderated ?c)