[gnus git] branch master updated: =1= (gnus-select-newsgroup): Don't try to alter the active data if the group is unactivated.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  15a4e4b567dca492a30ffb42dc964762e3b3aba9 (commit)
      from  364c492ff306b7b0e940c394ece819287633041d (commit)


- Log -----------------------------------------------------------------
commit 15a4e4b567dca492a30ffb42dc964762e3b3aba9
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Fri Jan 28 14:22:20 2011 -0800

    (gnus-select-newsgroup): Don't try to alter the active data if the group is unactivated.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 113bca8..57a44f6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-28  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
+	data if the group is unactivated.
+
 2011-01-28  Julien Danjou  <[email protected]>
 
 	* gnus-win.el: Remove dead function gnus-window-configuration-element.
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 8ee5964..3b003b7 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -5542,7 +5542,8 @@ If SELECT-ARTICLES, only select those articles from GROUP."
 	     (mm-decode-coding-string group charset)
 	     (mm-decode-coding-string (gnus-status-message group) charset)))
 
-    (when gnus-agent
+    (when (and gnus-agent
+	       (gnus-active group))
       (gnus-agent-possibly-alter-active group (gnus-active group) info)
 
       (setq gnus-summary-use-undownloaded-faces

-----------------------------------------------------------------------
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   |    5 +++++
 lisp/gnus-sum.el |    3 ++-
 2 files changed, 7 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.