Browse Source

org-footnote: Fix last commit

* lisp/org-footnote.el (org-footnote-next-reference-or-definition):
  Fix typo introduced in last commit.
Nicolas Goaziou 6 years ago
parent
commit
1f9e1cce62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-footnote.el

+ 1 - 1
lisp/org-footnote.el

@@ -511,7 +511,7 @@ This function is meant to be used for fontification only."
 		 ;; Footnotes definitions are separated by new
 		 ;; headlines, another footnote definition or 2 blank
 		 ;; lines.
-		 (let ((end (match-beginning 0))
+		 (let ((end (match-end 0))
 		       (lim (save-excursion
 			      (re-search-backward
 			       (concat org-outline-regexp-bol