[gnus git] branch master updated: n0-17-81-gb8995ce =1= * nnimap.el (nnimap-find-article-by-message-id): return nil when no article found.

Andrew Cohen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b8995ceb12e4f0105a993f729936f972311f8105 (commit)
      from  4a638d439452c26eebe436a53b8129736e7bde22 (commit)


- Log -----------------------------------------------------------------
commit b8995ceb12e4f0105a993f729936f972311f8105
Author: Andrew Cohen <[email protected]>
Date:   Tue Jun 21 13:09:59 2011 -0400

    * nnimap.el (nnimap-find-article-by-message-id): return nil when no
    	article found.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bd0b220..812ca82 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-21  Andrew Cohen  <[email protected]>
+
+	* nnimap.el (nnimap-find-article-by-message-id): return nil when no
+	article found.
+
 2011-06-18  Teodor Zlatanov  <[email protected]>
 
 	* auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index dc8b38b..1bbd76f 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -929,7 +929,7 @@ textual parts.")
 		 (car (setq result (nnimap-parse-response))))
 	;; Select the last instance of the message in the group.
 	(and (setq article
-		   (car (last (assoc "SEARCH" (cdr result)))))
+		   (car (last (cdr (assoc "SEARCH" (cdr result))))))
 	     (string-to-number article))))))
 
 (defun nnimap-delete-article (articles)

-----------------------------------------------------------------------
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/nnimap.el |    2 +-
 2 files changed, 6 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.