From 8f563146e84716fa42af058d947371eb8c89e1f4 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Wed, 1 Sep 2010 00:06:27 +0000 Subject: [PATCH] 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. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnimap.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3d8d4c9c16b..dd1b54f9a0e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -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 --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index c76169cb2b7..b2b1ba61cf6 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1499,8 +1499,8 @@ 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 (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)) -- 2.39.2