(nnimap-request-newgroups): Use the pattern in
authorSimon Josefsson <jas@extundo.com>
Sun, 13 Jul 2003 02:51:05 +0000 (02:51 +0000)
committerSimon Josefsson <jas@extundo.com>
Sun, 13 Jul 2003 02:51:05 +0000 (02:51 +0000)
nnimap-list-pattern instead of "*".

lisp/ChangeLog
lisp/nnimap.el

index d4ac5eb..e3b6be9 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-12  Nevin Kapur  <kapur@mts.jhu.edu>
+
+       * nnimap.el (nnimap-request-newgroups): Use the pattern in
+       nnimap-list-pattern instead of "*".
+
 2003-07-10  Simon Josefsson  <jas@extundo.com>
 
        * mml-sec.el (mml-signencrypt-style-alist): Use "combined" by
index e220e3b..d36f225 100644 (file)
@@ -1326,7 +1326,7 @@ function is generally only called when Gnus is shutting down."
       (nnimap-before-find-minmax-bugworkaround)
       (dolist (pattern (nnimap-pattern-to-list-arguments
                        nnimap-list-pattern))
-       (dolist (mbx (imap-mailbox-lsub "*" (car pattern) nil
+       (dolist (mbx (imap-mailbox-lsub (cdr pattern) (car pattern) nil
                                        nnimap-server-buffer))
          (or (catch 'found
                (dolist (mailbox (imap-mailbox-get 'list-flags mbx