Commit 8f563146 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

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.
parent 3c08d668
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> 2010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnwarchive.el: Removed. * nnwarchive.el: Removed.
......
...@@ -1499,8 +1499,8 @@ function is generally only called when Gnus is shutting down." ...@@ -1499,8 +1499,8 @@ function is generally only called when Gnus is shutting down."
(nnimap-before-find-minmax-bugworkaround) (nnimap-before-find-minmax-bugworkaround)
(dolist (pattern (nnimap-pattern-to-list-arguments (dolist (pattern (nnimap-pattern-to-list-arguments
nnimap-list-pattern)) nnimap-list-pattern))
(dolist (mbx (imap-mailbox-lsub (cdr pattern) (car pattern) nil (dolist (mbx (funcall nnimap-request-list-method (cdr pattern) (car pattern) nil
nnimap-server-buffer)) nnimap-server-buffer))
(or (catch 'found (or (catch 'found
(dolist (mailbox (imap-mailbox-get 'list-flags mbx (dolist (mailbox (imap-mailbox-get 'list-flags mbx
nnimap-server-buffer)) nnimap-server-buffer))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment