浏览代码

org-footnote: Remove useless org-re

* lisp/org-footnote.el (org-footnote-at-definition-p): remove useless
  org-re.
Nicolas Goaziou 13 年之前
父节点
当前提交
a77117ba80
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      lisp/org-footnote.el

+ 3 - 4
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))))