From 576e334d78cde7c6abea396082376805fc59ed9e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 12 Feb 2009 03:26:13 +0000 Subject: [PATCH] (org-footnote-at-definition-p): Fix doc typo. --- lisp/org/ChangeLog | 8 ++++++++ lisp/org/org-footnote.el | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index c0226589d45..ad6cb2f17e4 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -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 --git a/lisp/org/org-footnote.el b/lisp/org/org-footnote.el index 48ce05be3f7..3978d454d61 100644 --- a/lisp/org/org-footnote.el +++ b/lisp/org/org-footnote.el @@ -124,7 +124,7 @@ extracted will be filled again." 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 @@ If yes, return the beginning position, the label, and the definition, if local." 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) -- 2.39.5