# HG changeset patch # User Katsumi Yamaoka # Date 1283299587 0 # Node ID 943a190d417aa2c24a65f2e744af146393eb93ad # Parent 93f65e2caf3e33c7f69f9635b2bd9175c28bbdf2 Use nnimap-request-list-method instead of lsub directly; by Julien Danjou . Not using this variable here has no sence, because using LSUB method is useless if you never subscribed anything on the IMAP side. diff -r 93f65e2caf3e -r 943a190d417a lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Wed Sep 01 00:02:13 2010 +0000 +++ b/lisp/gnus/ChangeLog Wed Sep 01 00:06:27 2010 +0000 @@ -1,3 +1,8 @@ +2010-08-31 Julien Danjou (tiny change) + + * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method + instead of lsub directly. + 2010-08-31 Lars Magne Ingebrigtsen * nnwarchive.el: Removed. diff -r 93f65e2caf3e -r 943a190d417a lisp/gnus/nnimap.el --- a/lisp/gnus/nnimap.el Wed Sep 01 00:02:13 2010 +0000 +++ b/lisp/gnus/nnimap.el Wed Sep 01 00:06:27 2010 +0000 @@ -1499,8 +1499,8 @@ (nnimap-before-find-minmax-bugworkaround) (dolist (pattern (nnimap-pattern-to-list-arguments nnimap-list-pattern)) - (dolist (mbx (imap-mailbox-lsub (cdr pattern) (car pattern) nil - nnimap-server-buffer)) + (dolist (mbx (funcall nnimap-request-list-method (cdr pattern) (car pattern) nil + nnimap-server-buffer)) (or (catch 'found (dolist (mailbox (imap-mailbox-get 'list-flags mbx nnimap-server-buffer))