Function: org-ascii-filter-comment-spacing
org-ascii-filter-comment-spacing is a byte-compiled function defined
in ox-ascii.el.gz.
Signature
(org-ascii-filter-comment-spacing TREE BACKEND INFO)
Documentation
Filter removing blank lines between comments.
TREE is the parse tree. BACKEND is the symbol specifying back-end used for export. INFO is a plist used as a communication channel.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-ascii.el.gz
(defun org-ascii-filter-comment-spacing (tree _backend info)
"Filter removing blank lines between comments.
TREE is the parse tree. BACKEND is the symbol specifying
back-end used for export. INFO is a plist used as
a communication channel."
(org-element-map tree '(comment comment-block)
(lambda (c)
(when (memq (org-element-type (org-export-get-next-element c info))
'(comment comment-block))
(org-element-put-property c :post-blank 0))))
tree)