ox-texinfo: Fix spurious "nil" in "special block export

* lisp/ox-texinfo.el (org-texinfo-special-block): Remove spurious
  "nil" when no option is defined.
This commit is contained in:
Nicolas Goaziou 2017-06-11 11:38:45 +02:00
parent b8df40eccc
commit 62dc27dc75
1 changed files with 1 additions and 1 deletions

View File

@ -1368,7 +1368,7 @@ as a communication channel."
(type (org-element-property :type special-block)))
(format "@%s%s\n%s@end %s"
type
(if opt (concat " " opt) opt)
(if opt (concat " " opt) "")
(or contents "")
type)))