org-footnote: allow non Org mode files to have no footnote tag
commitbaf7dde28ef8730c558a6cf3c789d7400dbc51c6
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 16 Aug 2011 18:02:30 +0000 (16 20:02 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 16 Aug 2011 21:20:33 +0000 (16 23:20 +0200)
tree3d4664bfeae4f5669739a9d791ff00ae3878b9ff
parentcb906e440661f102fd004cb7c8792c2498018858
org-footnote: allow non Org mode files to have no footnote tag

* lisp/org-footnote.el (org-footnote-tag-for-non-org-mode-files):
  notify the opportunity to set the variable to the empty string.
(org-footnote-normalize, org-footnote-create-definition): carefully
  check for inserted newlines and presence of the footnote
  tag.
lisp/org-footnote.el