org-lint: Fix wrong warning with inline footnotes
commitc1b9d38c892f389275e9cf6fb5a5aa12ee981bc7
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 25 Aug 2017 13:24:07 +0000 (25 15:24 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 25 Aug 2017 13:24:07 +0000 (25 15:24 +0200)
treec18ae8b0340911dbb38a3f97177b2667e743bb8e
parent2ff3101c0e555627421162a759c4342f0b923a34
org-lint: Fix wrong warning with inline footnotes

* lisp/org-lint.el (org-lint-undefined-footnote-reference): Do not
  warn when definition is inline.

* testing/lisp/test-org-lint.el (test-org-lint/undefined-footnote-reference):
  Add tests.

Reported-by: Eric S Fraga <esflists@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00577.html>
lisp/org-lint.el
testing/lisp/test-org-lint.el