From 8c9da040de3b584cca9a41292d7a8b34818ae21a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 1 Feb 2011 02:23:24 +0000 Subject: [PATCH] gnus-art.el (article-date-ut): Protect against articles with no Date header. --- lisp/gnus/ChangeLog | 3 +++ lisp/gnus/gnus-art.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index ffc2129cb18..9c94a2ba2fa 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2011-02-01 Lars Ingebrigtsen + * 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 diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index a76a71be649..07eabd98a6d 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/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 -- 2.39.5