org-e-ascii: Fix 1aae9d83bf

* contrib/lisp/org-e-ascii.el (org-e-ascii-filter-paragraph-spacing):
  Only apply variables to contiguous paragraphs.
This commit is contained in:
Nicolas Goaziou 2012-09-27 19:25:38 +02:00
parent 60127b7096
commit ee19704a71
1 changed files with 4 additions and 1 deletions

View File

@ -1778,7 +1778,10 @@ This function only applies to `e-ascii' back-end. See
(org-element-map
tree 'paragraph
(lambda (p)
(org-element-put-property p :post-blank org-e-ascii-paragraph-spacing))))
(when (eq (org-element-type (org-export-get-next-element p info))
'paragraph)
(org-element-put-property
p :post-blank org-e-ascii-paragraph-spacing)))))
tree)