summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2011-09-29 22:44:58 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2011-09-29 22:44:58 +0200
commita77117ba80114001c7641c31db1f4b07c56af5b9 (patch)
tree22829f459f5ba0af7e9e2d2a1efa99ab2bf39afb
parent1effad02beb79b2fb26506bd4142cb74bbe3a906 (diff)
downloadorg-mode-a77117ba80114001c7641c31db1f4b07c56af5b9.tar.gz
org-footnote: Remove useless org-re
* lisp/org-footnote.el (org-footnote-at-definition-p): remove useless org-re.
-rw-r--r--lisp/org-footnote.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index afb7b47..d54a0f8 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -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))))