[gnus git] branch master updated: m0-5-256-g6e4ace6 =1= Debbugs group entry fixups

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  6e4ace6efa3f7082c50d70c9bc83f8b1d1584db5 (commit)
      from  6d29e36b0b02c0521173c979521ade783c671a1f (commit)


- Log -----------------------------------------------------------------
commit 6e4ace6efa3f7082c50d70c9bc83f8b1d1584db5
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jan 21 15:39:37 2013 +0100

    Debbugs group entry fixups
    
    * gnus-sum.el (gnus-summary-read-group-1): Protect against not being
    able to find the article, which can happen in debbugs groups,
    apparently.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 71f45bf..b4f426e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2013-01-21  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-sum.el (gnus-summary-read-group-1): Protect against not being
+	able to find the article, which can happen in debbugs groups,
+	apparently.
+
 2013-01-16  Glenn Morris  <[email protected]>
 
 	* smiley.el (smiley-style): Make the file loadable in batch mode.
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 0184459..58dcf44 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -4062,9 +4062,10 @@ If SELECT-ARTICLES, only select those articles from GROUP."
 		 gnus-auto-select-first)
 	    (progn
 	      (let ((art (gnus-summary-article-number)))
-		(unless (and (not gnus-plugged)
-			     (or (memq art gnus-newsgroup-undownloaded)
-				 (memq art gnus-newsgroup-downloadable)))
+		(when (and art
+			   gnus-plugged
+			   (not (memq art gnus-newsgroup-undownloaded))
+			   (not (memq art gnus-newsgroup-downloadable)))
 		  (gnus-summary-goto-article art))))
 	  ;; Don't select any articles.
 	  (gnus-summary-position-point)

-----------------------------------------------------------------------
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   |    6 ++++++
 lisp/gnus-sum.el |    7 ++++---
 2 files changed, 10 insertions(+), 3 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.