org-footnote: rewrite normalize function
commit460d093da8f696eff200f308ecb53b8566a0606f
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 30 Apr 2011 11:23:21 +0000 (30 13:23 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 29 Jun 2011 10:00:42 +0000 (29 12:00 +0200)
treeb2e43e2cfde5aef9905e49b9282ba83983cd0853
parent62fe76b5dcf04d42adbbb6ca9280fe618c424569
org-footnote: rewrite normalize function

* lisp/org-footnote.el (org-footnote-normalize): make use of changes
  to `org-footnote-at-reference-p' and creation of various functions..
  Also comment code.
  (org-footnote-get-next-reference, org-footnote-delete-references,
  org-footnote-delete-definitions): new functions
  (org-footnote-goto-previous-reference, org-footnote-all-labels,
  org-insert-footnote-reference-near-definition, org-footnote-delete):
  rewrite to use org-footnote-get-next-reference.
lisp/org-footnote.el