ox: Optional export of title

This commit is contained in:
IGARASHI Masanao
2015-03-24 19:15:38 +09:00
parent 3d7a276a73
commit f57fb9822c

View File

@@ -519,7 +519,9 @@ INFO is a plist used as a communication channel."
INFO is a plist used as a communication channel." INFO is a plist used as a communication channel."
(let* (;; Links in the title will not be resolved later, so we make (let* (;; Links in the title will not be resolved later, so we make
;; sure their path is located right after them. ;; sure their path is located right after them.
(title (org-export-data (plist-get info :title) info)) (title (if (plist-get info :with-title)
(org-export-data (plist-get info :title) info)
""))
(author (and (plist-get info :with-author) (author (and (plist-get info :with-author)
(let ((auth (plist-get info :author))) (let ((auth (plist-get info :author)))
(and auth (org-export-data auth info))))) (and auth (org-export-data auth info)))))