From 70fce0270f544c85250d34662e606d54f5b1605e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 8 Aug 2014 22:42:08 +0200 Subject: [PATCH] ox-texinfo: Fix blank lines between in items * lisp/ox-texinfo.el (org-texinfo-item): Fix blank lines between items. --- lisp/ox-texinfo.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 3f058ebcd..cc1d45352 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -1125,10 +1125,10 @@ contextual information." "Transcode an ITEM element from Org to Texinfo. CONTENTS holds the contents of the item. INFO is a plist holding contextual information." - (let* ((tag (org-element-property :tag item)) - (desc (org-export-data tag info))) - (concat "\n@item " (if tag desc) "\n" - (and contents (org-trim contents)) "\n"))) + (format "@item%s\n%s" + (let ((tag (org-element-property :tag item))) + (if tag (concat " " (org-export-data tag info)) "")) + (or contents ""))) ;;;; Keyword