Mercurial > emacs
changeset 110078:943a190d417a
Use nnimap-request-list-method instead of lsub directly; by Julien Danjou <julien@danjou.info>.
Not using this variable here has no sence, because using LSUB method
is useless if you never subscribed anything on the IMAP side.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Wed, 01 Sep 2010 00:06:27 +0000 |
parents | 93f65e2caf3e |
children | b6ad0fffbb7e |
files | lisp/gnus/ChangeLog lisp/gnus/nnimap.el |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <julien@danjou.info> (tiny change) + + * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method + instead of lsub directly. + 2010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org> * nnwarchive.el: Removed.
--- 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))