org-footnote: Make `org-footnote-create-definition' non-interactive
commitc76006a42cc427e44f070c44a19dcc1d94285c12
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 6 May 2015 21:23:54 +0000 (6 23:23 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 6 May 2015 21:47:16 +0000 (6 23:47 +0200)
tree6d3cb7021c53b906cbfe4cb4ca27236132e18d0a
parent360c4633e2bfad90dcb759146118c848aebcfae5
org-footnote: Make `org-footnote-create-definition' non-interactive

* lisp/org-footnote.el (org-footnote-create-definition): Remove
  `interactive' status.  Allow to insert definitions outside of
  narrowed part of buffer.  Preserve position.  Return beginning
  position of created definition.
(org-footnote-new):
(org-footnote-action): Apply changes above.
lisp/org-footnote.el