diff options
author | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2013-03-10 16:38:26 -0400 |
---|---|---|
committer | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2013-03-10 16:38:26 -0400 |
commit | 731428e7a5d6223421c8dc97dfb07d006e170006 (patch) | |
tree | d5c598ba0fa73abbe4b965101e3a3c2ed0e01456 | |
parent | 3e10bab25a80c7431d0a97f0dd4ea3f1785959e5 (diff) | |
download | org-mode-731428e7a5d6223421c8dc97dfb07d006e170006.tar.gz |
lisp/ox-texinfo.el: Fix parsing of list entries without content
* lisp/ox-texinfo.el (org-texinfo-item): Check for contents before
trimming whitespace from it.
-rw-r--r-- | lisp/ox-texinfo.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index aafd74b..addc4ce 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -1142,7 +1142,7 @@ contextual information." (let* ((tag (org-element-property :tag item)) (desc (org-export-data tag info))) (concat "\n@item " (if tag desc) "\n" - (org-trim contents) "\n"))) + (and contents (org-trim contents)) "\n"))) ;;; Keyword |