Fix c9a52787c14c3a7429bcd3c8975350525e0baa04
commit359572d37eb3131d934fbfaeffdee0c2a1abc7cc
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 24 Mar 2015 08:27:56 +0000 (24 09:27 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 24 Mar 2015 08:35:39 +0000 (24 09:35 +0100)
tree7f6b371fa39d3d138d5f0da03a0f20e56c7461a6
parentec54a5852d8da476b9b8381653af6ca72cf26a18
Fix c9a52787c14c3a7429bcd3c8975350525e0baa04

* lisp/org-macro.el (org-macro--collect-macros): Ignore macro
  definitions in commented subtrees.
* lisp/ox.el (org-export--get-inbuffer-options): Ignore options in
  commented subtrees.
(org-export--delete-commented-subtrees): Remove function.
(org-export-as): Apply removal.

Removing the whole subtree is not subtle as Babel might want to use
data there.

Reported-by: Robert Klein <RoKlein@roklein.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/96347>
lisp/org-macro.el
lisp/ox.el
testing/lisp/test-ox.el