Bläddra i källkod

org-footnote: Fix last commit

* lisp/org-footnote.el (org-footnote-next-reference-or-definition):
  Fix typo introduced in last commit.
Nicolas Goaziou 7 år sedan
förälder
incheckning
1f9e1cce62
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
 		 ;; Footnotes definitions are separated by new
 		 ;; headlines, another footnote definition or 2 blank
 		 ;; headlines, another footnote definition or 2 blank
 		 ;; lines.
 		 ;; lines.
-		 (let ((end (match-beginning 0))
+		 (let ((end (match-end 0))
 		       (lim (save-excursion
 		       (lim (save-excursion
 			      (re-search-backward
 			      (re-search-backward
 			       (concat org-outline-regexp-bol
 			       (concat org-outline-regexp-bol