Require 2 blank lines to separate footnote definition
commitca060f7be76814d603bf5d17bd55e4131e3a0bdb
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 21 Feb 2013 14:30:16 +0000 (21 15:30 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 24 Feb 2013 13:44:07 +0000 (24 14:44 +0100)
treec1c07d2e9602c400f5ed5fc9fdfa1a6f364162b3
parenta965c062133dea33dfddb5e3eabf373e2084b466
Require 2 blank lines to separate footnote definition

* lisp/org-element.el (org-element-footnote-definition-parser):
  Require 2 blank lines to separate footnote definition.
* lisp/org-footnote.el (org-footnote-at-definition-p): Require 2 blank
  lines to separate footnote definition.
* doc/org.texi: Update documentation for footnotes.
* testing/lisp/test-org-element.el: Update tests.
* testing/lisp/test-org-footnote.el: Add tests.

Footnote definitions can still be separated with other footnote
definitions and headlines. This change allows to have multiple
paragraphs in a footnote definition without resorting to the "\par"
trick.
doc/org.texi
lisp/org-element.el
lisp/org-footnote.el
testing/lisp/test-org-element.el
testing/lisp/test-org-footnote.el