ox-koma-letter: Interpret #+SUBJECT.

* ox-koma-letter.el (org-koma-letter-template): Interpret #+SUBJECT.
This commit is contained in:
Rasmus 2015-03-18 13:33:42 +01:00
parent a795d9e7e9
commit 304a5cb03d
1 changed files with 5 additions and 1 deletions

View File

@ -630,7 +630,11 @@ holding export options."
(mapconcat #'symbol-name with-subject ","))))
(let* ((title-as-subject (plist-get info :with-title-as-subject))
(subject* (org-string-nw-p
(org-export-data (plist-get info :subject) info)))
(org-export-data
(org-element-parse-secondary-string
(plist-get info :subject)
(org-element-restriction 'keyword))
info)))
(title* (and (plist-get info :with-title)
(org-string-nw-p
(org-export-data (plist-get info :title) info))))