1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

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

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)