ox: Remove comments and comment blocks prior to export
commit69dd4301ab7aeb581968f1c7e75167338d024c8f
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 28 Mar 2015 09:25:48 +0000 (28 10:25 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 28 Mar 2015 09:27:04 +0000 (28 10:27 +0100)
tree37d64ddffc5ec886f17a83d129e7f40ca249a839
parent47bad1ee9b77c0b0b34c0d4c7685029edbc74ebf
ox: Remove comments and comment blocks prior to export

* lisp/ox.el (org-export--delete-comments): Renamed from
  `org-export--delete-commented-subtrees'.  Also remove comments and
  comment blocks.
(org-export-as): Apply renaming.

* testing/lisp/test-ox.el (org-test-with-parsed-data): Apply renaming.

From the export point of view COMMENTed subtrees and regular comments
are expected to be treated in the same way.
lisp/ox.el
testing/lisp/test-ox.el