gnus-group.el (gnus-group-completing-read): Fix last change.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 6 Oct 2010 01:36:22 +0000 (01:36 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 6 Oct 2010 01:36:22 +0000 (01:36 +0000)
lisp/gnus-group.el

index 1833c60..c146456 100644 (file)
@@ -2190,7 +2190,9 @@ if it is not a list."
                                      require-match initial-input
                                      (or hist 'gnus-group-history)
                                      def))
-    (if (symbol-value (intern-soft group collection))
+    (if (if (listp collection)
+           (member group (mapcar 'symbol-name collection))
+         (symbol-value (intern-soft group collection)))
        group
       (mm-encode-coding-string group (gnus-group-name-charset nil group)))))