ox-texinfo: Fix blank lines between in items

* lisp/ox-texinfo.el (org-texinfo-item): Fix blank lines between
  items.
This commit is contained in:
Nicolas Goaziou 2014-08-08 22:42:08 +02:00
parent 0d6c95699b
commit 70fce0270f
1 changed files with 4 additions and 4 deletions

View File

@ -1125,10 +1125,10 @@ contextual information."
"Transcode an ITEM element from Org to Texinfo. "Transcode an ITEM element from Org to Texinfo.
CONTENTS holds the contents of the item. INFO is a plist holding CONTENTS holds the contents of the item. INFO is a plist holding
contextual information." contextual information."
(let* ((tag (org-element-property :tag item)) (format "@item%s\n%s"
(desc (org-export-data tag info))) (let ((tag (org-element-property :tag item)))
(concat "\n@item " (if tag desc) "\n" (if tag (concat " " (org-export-data tag info)) ""))
(and contents (org-trim contents)) "\n"))) (or contents "")))
;;;; Keyword ;;;; Keyword