ox: Allow to narrow scope in footnotes API
commitfa145361ec10a503fa004c7073edc40b27e11268
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 21 Feb 2015 08:34:15 +0000 (21 09:34 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 21 Feb 2015 10:29:40 +0000 (21 11:29 +0100)
tree409fd00719cc013b33c8224139f0c007291f2f64
parent719dda85ea50d0cb70e7e76731ab71922db87932
ox: Allow to narrow scope in footnotes API

* lisp/ox.el (org-export--footnote-reference-map,
  org-export-collect-footnote-definitions,
  org-export-footnote-first-reference-p,
  org-export-get-footnote-number): Allow to specify scope, through
  a new optional argument.

* lisp/ox-odt.el (org-odt-footnote-reference): Apply API change.

* testing/lisp/test-ox.el (test-org-export/footnote-first-reference-p,
  test-org-export/get-footnote-number,
  test-org-export/collect-footnote-definitions): Update tests.
lisp/ox-odt.el
lisp/ox.el
testing/lisp/test-ox.el