From f67a68156961b98b0a1a5fa8837c483a316605af Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Sat, 14 Nov 2015 20:13:03 +0900 Subject: [PATCH] Small fix when title is not specified --- ox-rst.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index cb3c592..7a39b66 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -468,17 +468,18 @@ INFO is a plist used as a communication channel." ((and (org-string-nw-p date) (org-string-nw-p author)) (concat author + " " date - (when (org-string-nw-p email) email))) + (when (org-string-nw-p email) (concat " " email)))) ((and (org-string-nw-p date) (org-string-nw-p email)) (concat email - date + " " date)) ((org-string-nw-p date) date) ((and (org-string-nw-p author) (org-string-nw-p email)) - (concat author email)) + (concat author " " email)) ((org-string-nw-p author) author) ((org-string-nw-p email) email)) title)) (titleline (make-string (string-width title) ?=))