Mercurial > emacs
diff lisp/org/org-footnote.el @ 101948:2591b7541793
(org-footnote-at-definition-p): Fix doc typo.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 12 Feb 2009 03:26:13 +0000 |
parents | 5eee9e7321f6 |
children | ac1a55cc2c38 |
line wrap: on
line diff
--- a/lisp/org/org-footnote.el Thu Feb 12 03:25:54 2009 +0000 +++ b/lisp/org/org-footnote.el Thu Feb 12 03:26:13 2009 +0000 @@ -124,7 +124,7 @@ If yes, return the beginning position, the label, and the definition, if local." (when (org-in-regexp org-footnote-re 15) (list (match-beginning 0) - (or (match-string 1) + (or (match-string 1) (if (equal (match-string 2) "fn:") nil (match-string 2))) (match-string 4)))) @@ -133,7 +133,7 @@ This matches only pure definitions like [1] or [fn:name] at the beginning of a line. It does not a references like [fn:name:definition], where the footnote text is included and defined locally. -The return value will be nil if not at a foornote definition, and a list +The return value will be nil if not at a footnote definition, and a list with start and label of the footnote if there is a definition at point." (save-excursion (end-of-line 1)