ox: Ignore export settings in commented subtrees
commitc9a52787c14c3a7429bcd3c8975350525e0baa04
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 23 Mar 2015 23:32:15 +0000 (24 00:32 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 23 Mar 2015 23:32:15 +0000 (24 00:32 +0100)
tree4b11b895fe04661c6acc83a654f14f70b2a23cdd
parentf7b27896e9be98d477c5a1ffe0bbce530eef1c72
ox: Ignore export settings in commented subtrees

* lisp/ox.el (org-export--delete-commented-subtrees): New function.
(org-export-as): Use new function.

* testing/lisp/test-ox.el (org-test-with-parsed-data,
  test-org-export/get-inbuffer-options): Use new function.
(test-org-export/expand-macro): Add tests.

Reported-by: Andreas Leha <andreas.leha@med.uni-goettingen.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/96267>
lisp/ox.el
testing/lisp/test-ox.el