summaryrefslogtreecommitdiff
path: root/lisp/org/org-footnote.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-02-12 03:26:13 +0000
committerGlenn Morris <rgm@gnu.org>2009-02-12 03:26:13 +0000
commit576e334d78cde7c6abea396082376805fc59ed9e (patch)
tree2e9afbb030999b9ee604cc9a82a23915647adee6 /lisp/org/org-footnote.el
parent9c55bbd2794b75619eb9ba016f7e0f1f4074bbc6 (diff)
downloademacs-576e334d78cde7c6abea396082376805fc59ed9e.tar.gz
(org-footnote-at-definition-p): Fix doc typo.
Diffstat (limited to 'lisp/org/org-footnote.el')
-rw-r--r--lisp/org/org-footnote.el4
1 files changed, 2 insertions, 2 deletions
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)