summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-art.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2011-02-01 02:23:24 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2011-02-01 02:23:24 +0000
commit8c9da040de3b584cca9a41292d7a8b34818ae21a (patch)
tree91776326fcf86bfe7c650ae572af1381fec5bb5b /lisp/gnus/gnus-art.el
parentc1d5851dc03bdf27d7ded885526cf0e721d063ed (diff)
downloademacs-8c9da040de3b584cca9a41292d7a8b34818ae21a.tar.gz
gnus-art.el (article-date-ut): Protect against articles with no Date header.
Diffstat (limited to 'lisp/gnus/gnus-art.el')
-rw-r--r--lisp/gnus/gnus-art.el3
1 files changed, 2 insertions, 1 deletions
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