org-exp: normalize footnotes after removing commented subtrees
commit56b558d15a0e0330aa8b5cb96fad31d0daac8b38
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 28 Jun 2011 15:07:37 +0000 (28 17:07 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 29 Jun 2011 10:00:43 +0000 (29 12:00 +0200)
tree3fd6655fa75b7afe7ee11749c7db508c0a90f47f
parent39d4bfa0e813ec62f6699f57e8ea7fcaad8835d8
org-exp: normalize footnotes after removing commented subtrees

* lisp/org-exp.el (org-export-preprocess-string): if the last subtree
  is commented, footnotes inserted during normalizing at the end of
  the buffer may get deleted. This patch ensures deletion comes first,
  normalization second.
lisp/org-exp.el