From f57fb9822ce363a1d3f0d2aa461ef4c5d0bcbbaf Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Tue, 24 Mar 2015 19:15:38 +0900 Subject: [PATCH] ox: Optional export of title --- ox-rst.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ox-rst.el b/ox-rst.el index 01c57d3..8300c3d 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -519,7 +519,9 @@ 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 ;; 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) (let ((auth (plist-get info :author))) (and auth (org-export-data auth info)))))