ox: Correctly handle footnote section
commit39ed70495cb3fe8f3fd7b449f347dfb2c2c21e59
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 13 Feb 2013 14:51:08 +0000 (13 15:51 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 13 Feb 2013 15:00:27 +0000 (13 16:00 +0100)
tree62cab418472bc8450d4a7d2b9a9c1d72d28e4560
parenta6ac2b5fed4b98ca4a7c68e2c474a0fbf186e94b
ox: Correctly handle footnote section

* lisp/ox.el (org-export--collect-headline-numbering): Remove footnote
  section from TOC.
(org-export-collect-headlines): Do not count footnote section when
numbering a headline.
* testing/lisp/test-ox.el: Add tests.
lisp/ox.el
testing/lisp/test-ox.el