summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-25 17:42:03 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-25 18:44:35 (GMT)
commited6849d18dd7831f3f7917970d2c24e771f75476 (patch)
tree5f5f77e0a425efaec0bf16e014250f240a61cbea
parent8112629d378c6cc85fb4440580ee4550b6c8e48b (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
ox-texinfo: Insert blank line between sectioning command and contentsHEADmaster
* lisp/ox-texinfo.el (org-texinfo-headline): Insert blank line between sectioning command and contents.
-rw-r--r--lisp/ox-texinfo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el
index e85e39b..7180622 100644
--- a/lisp/ox-texinfo.el
+++ b/lisp/ox-texinfo.el
@@ -877,7 +877,8 @@ holding contextual information."
(funcall (plist-get info :texinfo-format-headline-function)
todo todo-type priority text tags))
(contents
- (concat (if (org-string-nw-p contents)
+ (concat "\n"
+ (if (org-string-nw-p contents)
(concat "\n" contents)
"")
(let ((index (org-element-property :INDEX headline)))