Sync changes from downstream Emacs

Glenn Morris has fixed typos.
This commit is contained in:
Carsten Dominik 2009-02-13 09:11:22 +01:00
parent 220be33da3
commit 5283252c86
1 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ extracted will be filled again."
If yes, return the beginning position, the label, and the definition, if local." If yes, return the beginning position, the label, and the definition, if local."
(when (org-in-regexp org-footnote-re 15) (when (org-in-regexp org-footnote-re 15)
(list (match-beginning 0) (list (match-beginning 0)
(or (match-string 1) (or (match-string 1)
(if (equal (match-string 2) "fn:") nil (match-string 2))) (if (equal (match-string 2) "fn:") nil (match-string 2)))
(match-string 4)))) (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 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 of a line. It does not a references like [fn:name:definition], where the
footnote text is included and defined locally. 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." with start and label of the footnote if there is a definition at point."
(save-excursion (save-excursion
(end-of-line 1) (end-of-line 1)
@ -287,7 +287,7 @@ or new, let the user edit the definition of the footnote."
;;;###autoload ;;;###autoload
(defun org-footnote-action (&optional special) (defun org-footnote-action (&optional special)
"Do the right thing for footnotes. "Do the right thing for footnotes.
When at a foornote reference, jump to the definition. When at a definition, When at a footnote reference, jump to the definition. When at a definition,
jump to the refernces. When neither at definition or reference, jump to the refernces. When neither at definition or reference,
create a new footnote, interactively. create a new footnote, interactively.
With prefix arg SPECIAL, offer additional commands in a menu." With prefix arg SPECIAL, offer additional commands in a menu."