Mercurial > emacs
changeset 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 | 3d4ab04238a6 |
files | lisp/org/ChangeLog lisp/org/org-footnote.el |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <rgm@gnu.org> + + * org-footnote.el (org-footnote-at-definition-p): Fix doc typo. + +2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change) + + * org-footnote.el (org-footnote-action): Fix doc typo. + 2009-02-06 Carsten Dominik <dominik@science.uva.nl> * org-exp.el (org-export-preprocess-string): Fix bug with skipping
--- 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)