Commit a5a79894 authored by Tassilo Horn's avatar Tassilo Horn
Browse files

Fix bug where org-gnus-store-link used wrong subject when called in an article

buffer.  Patch provided by fengli AT gmail DOT com.
parent 42481bde
2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
* org-gnus.el (org-gnus-store-link): Fix bug where
org-gnus-store-link used wrong subject when called in an article
buffer. Patch provided by fengli AT gmail DOT com.
2009-03-13 D. Goel <deego3@gmail.com>
* org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
......
......@@ -133,7 +133,9 @@ If `org-store-link' was called with a prefix arg the meaning of
(to (mail-header 'to header))
(newsgroups (mail-header 'newsgroups header))
(x-no-archive (mail-header 'x-no-archive header))
(subject (gnus-summary-subject-string))
(subject (if (eq major-mode 'gnus-article-mode)
(message-fetch-field "subject")
(gnus-summary-subject-string)))
desc link)
(org-store-link-props :type "gnus" :from from :subject subject
:message-id message-id :group group :to to)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment