ox-org: Fix footnotes export, part 2
commit35ec82bb164532086bf536beb5be505a1d566a95
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 15 Mar 2017 13:30:52 +0000 (15 14:30 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 15 Mar 2017 13:30:52 +0000 (15 14:30 +0100)
tree1154ddccaf83902e44ebb99d01faadc32da39c9c
parent0fd2256eba2ec67d47c337ebd9a8441390016cc7
ox-org: Fix footnotes export, part 2

* lisp/ox-org.el (org-org--add-missing-sections): New function.
(org-org-section): Small refactoring.

Since footnote definitions are inserted in the section of the
headline, make sure those are not being skipped.
lisp/ox-org.el