ox: Do not check footnote validity when including files
commita6514e995b8bca3e5770ccb8500865bbc145bfc9
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 7 Sep 2015 17:09:17 +0000 (7 19:09 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 7 Sep 2015 17:09:17 +0000 (7 19:09 +0200)
tree2c2c5a838af7b16a41deb04033b28c45e14c8298
parent366dc4e369cab2009b55e2de81d9190871505d6e
ox: Do not check footnote validity when including files

* lisp/ox.el (org-export--update-footnote-label): Remove function.
(org-export--prepare-file-contents): Do not error when a footnote
definition cannot be found.

In particular, it should not throw an error when a footnote is not
defined outside of export scope.

Reported-by: Leonard Randall <leonard.a.randall@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100924>
lisp/ox.el