org-footnote: Remove useless org-re

* lisp/org-footnote.el (org-footnote-at-definition-p): remove useless
  org-re.
This commit is contained in:
Nicolas Goaziou 2011-09-29 22:44:58 +02:00
parent 1effad02be
commit a77117ba80
1 changed files with 3 additions and 4 deletions

View File

@ -267,10 +267,9 @@ label, start, end and definition of the footnote otherwise."
(re-search-backward
message-signature-separator nil t)))))
(or (and (re-search-forward
(org-re
(concat org-outline-regexp-bol "\\|"
org-footnote-definition-re "\\|"
"^[ \t]*$"))
(concat org-outline-regexp-bol "\\|"
org-footnote-definition-re "\\|"
"^[ \t]*$")
bound 'move)
(progn (skip-chars-forward " \t\n") (point-at-bol)))
(point))))