ox: Change `org-export-collect-footnote-definitions' signature
commit014de0a532cbc60987d09d6040ed46195cffdf12
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 20 Feb 2015 17:06:23 +0000 (20 18:06 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 20 Feb 2015 17:06:23 +0000 (20 18:06 +0100)
tree437832418ee95796961739db8ebcb5c571801b26
parent21c6a1e1e9ba0d40ed55a35546d8e9e1ddbe5b9d
ox: Change `org-export-collect-footnote-definitions' signature

* lisp/ox.el (org-export-collect-footnote-definitions): Refactor
  code.  Change signature.

* testing/lisp/test-ox.el (test-org-export/collect-footnote-definitions):
  New test.
(test-org-export/footnotes): Update test.

* lisp/ox-ascii.el (org-ascii-inner-template):
* lisp/ox-html.el (org-html-footnote-section): Apply signature change.

* etc/ORG-NEWS: Document signature change.

This change makes `org-export-collect-footnote-definitions' compatible
with `org-export-get-footnote-number' and
`org-export-footnote-first-reference-p'.
etc/ORG-NEWS
lisp/ox-ascii.el
lisp/ox-html.el
lisp/ox.el
testing/lisp/test-ox.el