org-footnote: Allow new footnotes in headlines
commit7584200bb88b7995b87f065320886b0813de22dd
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 11 Apr 2015 22:25:33 +0000 (12 00:25 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 11 Apr 2015 22:25:33 +0000 (12 00:25 +0200)
tree40a38d38950dbe7f766cbce7a7a3070a06df7883
parent0865cbb67488b05b6fccde4baafc4a6f5087bbbf
org-footnote: Allow new footnotes in headlines

* lisp/org-footnote.el (org-footnote--allow-reference-p): Allow new
footnotes in headlines.

* testing/lisp/test-org-footnote.el (test-org-footnote/new): Add test.

Reported-by: Thomas S. Dye <tsd@tsdye.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/96843>
lisp/org-footnote.el
testing/lisp/test-org-footnote.el