Explorar o código

ox-texinfo: Insert blank line between sectioning command and contents

* lisp/ox-texinfo.el (org-texinfo-headline): Insert blank line between
  sectioning command and contents.
Nicolas Goaziou %!s(int64=7) %!d(string=hai) anos
pai
achega
ed6849d18d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lisp/ox-texinfo.el

+ 2 - 1
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)))