org-footnote: parse footnotes references with more accuracy
commit62fe76b5dcf04d42adbbb6ca9280fe618c424569
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 29 Apr 2011 13:46:25 +0000 (29 15:46 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 29 Jun 2011 10:00:42 +0000 (29 12:00 +0200)
treea3a687010887d72f918e99fa0713532768d6698e
parente48c3221de727f034c1999e776ad17850e58e750
org-footnote: parse footnotes references with more accuracy

* lisp/org-footnote.el (org-footnote-re): don't end an inline footnote
  at unrelated closing square brackets.
  (org-footnote-at-reference-p): improve accuracy of the function to
  determine if point is at a reference and to extract definition of an
  inline footnote.
  (org-footnote-all-labels, org-footnote-action, org-footnote-delete,
  org-footnote-auto-adjust-maybe): make use of previous function.
lisp/org-footnote.el