org-gnus.el: Add the :date property.

* org-gnus.el (org-gnus-store-link): add the :date property to
gnus links, allowing the use of %:date in capture templates.
This commit is contained in:
Bastien Guerry 2010-09-20 00:12:41 +02:00
parent d22d2d0ac4
commit 5546df7f3b
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ If `org-store-link' was called with a prefix arg the meaning of
(setq to (or to (gnus-fetch-original-field "To"))
newsgroups (gnus-fetch-original-field "Newsgroups")
x-no-archive (gnus-fetch-original-field "x-no-archive")))
(org-store-link-props :type "gnus" :from from :subject subject
(org-store-link-props :type "gnus" :from from :subject subject :date date
:message-id message-id :group group :to to)
(setq desc (org-email-link-description)
link (org-gnus-article-link