ox: Fix comments removal during export
commita0409e56c3e4e9e8746235f6c0841a701a2f57a2
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 10 Jan 2017 23:00:29 +0000 (11 00:00 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 10 Jan 2017 23:23:53 +0000 (11 00:23 +0100)
tree8b026d50966c19bf438c4f3566a757ef1b26458e
parenta8c7fe2b1ae748a3a96ec3c83ff541cb3ef3ae2a
ox: Fix comments removal during export

* lisp/ox.el (org-export--skip-p): Handle comments and comment blocks
  removal.
(org-export--delete-comments): Rename to...
(org-export--delete-comment-trees): ... this.  Now only take care of
commented trees and inlinetasks.

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