# HG changeset patch # User Glenn Morris # Date 1234409173 0 # Node ID 2591b7541793dbc8d9f15595b8b56fe21ece320b # Parent 5eee9e7321f6b316ee84b22c26d44650e6f2a940 (org-footnote-at-definition-p): Fix doc typo. diff -r 5eee9e7321f6 -r 2591b7541793 lisp/org/ChangeLog --- a/lisp/org/ChangeLog Thu Feb 12 03:25:54 2009 +0000 +++ b/lisp/org/ChangeLog Thu Feb 12 03:26:13 2009 +0000 @@ -1,3 +1,11 @@ +2009-02-12 Glenn Morris + + * org-footnote.el (org-footnote-at-definition-p): Fix doc typo. + +2009-02-12 Joachim Reiter (tiny change) + + * org-footnote.el (org-footnote-action): Fix doc typo. + 2009-02-06 Carsten Dominik * org-exp.el (org-export-preprocess-string): Fix bug with skipping diff -r 5eee9e7321f6 -r 2591b7541793 lisp/org/org-footnote.el --- 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)