org-export: Accept nil :post-blank property

* contrib/lisp/org-export.el (org-export-data): Nil :post-blank
  property is equivalent to a value of 0.
This commit is contained in:
Nicolas Goaziou 2012-07-09 22:48:00 +02:00
parent 9d16365c20
commit 0bbc9fa075
1 changed files with 1 additions and 1 deletions

View File

@ -1793,7 +1793,7 @@ Return transcoded string."
(let ((results
(org-export-filter-apply-functions
(plist-get info (intern (format ":filter-%s" type)))
(let ((post-blank (org-element-property :post-blank data)))
(let ((post-blank (or (org-element-property :post-blank data) 0)))
(if (memq type org-element-all-elements)
(concat (org-element-normalize-string results)
(make-string post-blank ?\n))