org-footnote: Fix definition ending retrieval with no footnote section
commit6c0da676af542fa4cfe3e6c917c1d8e4e80a9d08
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 2 Feb 2012 08:08:28 +0000 (2 09:08 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 2 Feb 2012 08:08:28 +0000 (2 09:08 +0100)
tree8f94d1199c5d76752d045677ad32e7146eefc6bb
parent04ecf18db0de904dd966318c9bfe89c94b058054
org-footnote: Fix definition ending retrieval with no footnote section

* lisp/org-footnote.el (org-footnote-at-definition-p): Make sure to
  move point at the beginning of the separator before skiping white
  spaces.  Refactor code.
lisp/org-footnote.el