org-footnote: ensure footnote tag is inserted after footnotes in non-Org buffers
commit774f9cb8e63f9739207581b81710c8b6b8cf4d01
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 28 Sep 2011 17:07:38 +0000 (28 19:07 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 28 Sep 2011 17:07:38 +0000 (28 19:07 +0200)
tree5ef95a785bc5d0fd98b129adf39c4b053b73a3d8
parent15c3e180b231767e1526c2cd37ac503ac67ff156
org-footnote: ensure footnote tag is inserted after footnotes in non-Org buffers

* lisp/org-footnote.el (org-footnote-create-definition): When the tag
  is missing, it is created before any existing footnote, or at end of
  buffer.  In the latter case, the marker pointing at the position
  where the new footnote is going to be inserted (at end of buffer)
  stays before the tag.  This patch makes sure that the marker will be
  kept after the tag.
lisp/org-footnote.el