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:
parent
d22d2d0ac4
commit
5546df7f3b
|
@ -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"))
|
(setq to (or to (gnus-fetch-original-field "To"))
|
||||||
newsgroups (gnus-fetch-original-field "Newsgroups")
|
newsgroups (gnus-fetch-original-field "Newsgroups")
|
||||||
x-no-archive (gnus-fetch-original-field "x-no-archive")))
|
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)
|
:message-id message-id :group group :to to)
|
||||||
(setq desc (org-email-link-description)
|
(setq desc (org-email-link-description)
|
||||||
link (org-gnus-article-link
|
link (org-gnus-article-link
|
||||||
|
|
Loading…
Reference in New Issue