[gnus git] branch master updated: m0-5-211-g7801d80 =1= Don't bug out when fetching data from offline methods
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 7801d80ab08cb437b2ee7a36594ef8a835d9f893 (commit)
from b4f496c7805e5666c4c646ca0b8d8086b614e51d (commit)
- Log -----------------------------------------------------------------
commit 7801d80ab08cb437b2ee7a36594ef8a835d9f893
Author: Lars Ingebrigtsen <[email protected]>
Date: Tue Dec 25 15:04:45 2012 +0100
Don't bug out when fetching data from offline methods
* gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
offline groups (bug#11937).
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 159d598..5f4d00e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2012-12-25 Lars Ingebrigtsen <[email protected]>
+ * gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
+ offline groups (bug#11937).
+
* message.el (message-yank-original): When using customize to set the
value of `message-cite-style', the variable it set to a symbol that's
the name of the variable, which must then be dereferenced (bug#12616).
diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el
index 60d6102..297c654 100644
--- a/lisp/gnus-agent.el
+++ b/lisp/gnus-agent.el
@@ -1489,7 +1489,8 @@ downloaded into the agent."
(defun gnus-agent-fetch-articles (group articles)
"Fetch ARTICLES from GROUP and put them into the Agent."
- (when articles
+ (when (and articles
+ (gnus-online (gnus-group-method group)))
(gnus-agent-load-alist group)
(let* ((alist gnus-agent-article-alist)
(headers (if (< (length articles) 2) nil gnus-newsgroup-headers))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 3 +++
lisp/gnus-agent.el | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project