org-mode/testing/lisp
Nicolas Goaziou bf609d8844 org-export: Avoid duplicates in `org-export-collect-footnote-definitions'
* contrib/lisp/org-element.el (org-element-map): New optional argument
  to avoid recursion into certain recursive types.
* contrib/lisp/org-export.el (org-export-footnote-first-reference-p,
  org-export-get-footnote-number,
  org-export-collect-footnote-definitions): Use new argument from
  `org-element-map'.
* testing/lisp/test-org-export.el: Add test.

The new argument allows to force entering footnotes definitions at
a certain time (when their first reference is found) but not a second
time when they are encountered in the parse tree.

Thanks to Jambunathan for reporting this.
2012-03-04 11:57:16 +01:00
..
test-ob-awk.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-C.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-emacs-lisp.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-exp.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-fortran.el removing trailing ")"s 2012-02-29 09:10:08 -07:00
test-ob-lilypond.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-lob.el Fix copyright (to 2012) year and Org version (to 7.8.03). 2012-01-03 18:47:01 +01:00
test-ob-maxima.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-octave.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-python.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-R.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-sh.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-table.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob-tangle.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-ob.el adding a test to protect the "results don't replace code block" functionality 2012-03-03 07:45:20 -07:00
test-org-element.el Move two test files into common test directory 2012-02-29 18:39:32 +01:00
test-org-exp.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-org-export.el org-export: Avoid duplicates in `org-export-collect-footnote-definitions' 2012-03-04 11:57:16 +01:00
test-org-footnote.el org-footnote: Fix normalization of inline footnotes with no footnote section 2012-03-02 22:37:12 +01:00
test-org-html.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-org-list.el org-list: Fix small bug 2012-02-29 21:04:15 +01:00
test-org-table.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00
test-org.el test-org: Fix a broken test 2012-03-02 15:14:23 +01:00
test-property-inheritance.el cleaning headers of test files -- removing loads and requires 2012-02-29 09:10:08 -07:00