[gnus git] branch master updated: n0-15-53-gc66266f =1= gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  c66266f6a9f992189ad2bc6198c66ac0b8788ab2 (commit)
      from  b5b02d97a68d29dcf7e1dc941f9a7bf499fda8bd (commit)


- Log -----------------------------------------------------------------
commit c66266f6a9f992189ad2bc6198c66ac0b8788ab2
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Apr 11 00:27:46 2011 +0000

    gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 996dcb0..9add882 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-11  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-art.el (article-treat-date): Assume that
+	gnus-article-date-headers may be a group parameter.
+
 2011-04-07  Teodor Zlatanov  <[email protected]>
 
 	* gnus-registry.el (gnus-registry-handle-action): More debugging.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 9767798..e03c787 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -3407,7 +3407,11 @@ lines forward."
 	(setq ended t)))))
 
 (defun article-treat-date ()
-  (article-date-ut gnus-article-date-headers t))
+  (article-date-ut (if (gnus-buffer-live-p gnus-summary-buffer)
+		       (with-current-buffer gnus-summary-buffer
+			 gnus-article-date-headers)
+		     gnus-article-date-headers)
+		   t))
 
 (defun article-date-ut (&optional type highlight date-position)
   "Convert DATE date to TYPE in the current article.

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