[gnus git] branch master updated: =1= (nnimap-request-head): Protect against not finding the article by Message-ID.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 6c800216a08473b13d0aec5c8c0d530e25cd159f (commit)
from 2ebf9f23964d9d572cb206cf092a1071bcce02dc (commit)
- Log -----------------------------------------------------------------
commit 6c800216a08473b13d0aec5c8c0d530e25cd159f
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sat Jan 29 16:40:18 2011 -0800
(nnimap-request-head): Protect against not finding the article by Message-ID.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 42c85c9..06730f4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-30 Lars Ingebrigtsen <[email protected]>
+
+ * nnimap.el (nnimap-request-head): Protect against not finding the
+ article by Message-ID.
+
2011-01-29 Lars Ingebrigtsen <[email protected]>
* gnus-art.el (article-update-date-lapsed): Try a better way to really
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 6f73830..04e4bd6 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -519,6 +519,8 @@ textual parts.")
(with-current-buffer (nnimap-buffer)
(when (stringp article)
(setq article (nnimap-find-article-by-message-id group article)))
+ (if (null article)
+ nil
(nnimap-get-whole-article
article (format "UID FETCH %%d %s"
(nnimap-header-parameters)))
@@ -527,7 +529,7 @@ textual parts.")
(erase-buffer)
(insert-buffer-substring buffer)
(nnheader-ms-strip-cr)
- (cons group article))))))
+ (cons group article)))))))
(defun nnimap-get-whole-article (article &optional command)
(let ((result
-----------------------------------------------------------------------
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 | 20 +++++++++++---------
2 files changed, 16 insertions(+), 9 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