[gnus git] branch master updated: =1= (article-date-ut): Protect against articles with no Date header.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 9c48c2d0cd1604f30884219a536d0c3c4048330e (commit)
from 3531c0498ec33fe82f2e1004ef7ff90cdbf869c1 (commit)
- Log -----------------------------------------------------------------
commit 9c48c2d0cd1604f30884219a536d0c3c4048330e
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Mon Jan 31 18:19:09 2011 -0800
(article-date-ut): Protect against articles with no Date header.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 54f5c3b..f24ce7f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-02-01 Lars Ingebrigtsen <[email protected]>
+ * gnus-art.el (article-date-ut): Protect against articles with no Date
+ header.
+
* gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
2011-01-31 Lars Ingebrigtsen <[email protected]>
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index a76a71b..07eabd9 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -3443,7 +3443,8 @@ possible values."
(delete-region (point-at-bol) (progn
(gnus-article-forward-header)
(point))))
- (article-transform-date date type bface eface))))))
+ (when date
+ (article-transform-date date type bface eface)))))))
(defun article-transform-date (date type bface eface)
(dolist (this-type (cond
-----------------------------------------------------------------------
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-art.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