Function: footnote-goto-footnote

footnote-goto-footnote is an interactive and byte-compiled function defined in footnote.el.gz.

Signature

(footnote-goto-footnote &optional ARG)

Documentation

Jump to the text of a footnote.

With no parameter, jump to the text of the footnote under (point). With ARG specified, jump to the text of that footnote.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/footnote.el.gz
(defun footnote-goto-footnote (&optional arg)
  "Jump to the text of a footnote.
With no parameter, jump to the text of the footnote under (point).  With ARG
specified, jump to the text of that footnote."
  (interactive "P")
  (unless arg
    (setq arg (footnote--under-cursor)))
  (let ((footnote (assq arg footnote--markers-alist)))
    (cond
     (footnote
      (goto-char (cadr footnote)))
     ((eq arg 0)
      (goto-char (point-max))
      (cond
       ((not (string-equal footnote-section-tag ""))
	(re-search-backward (concat "^" footnote-section-tag-regexp))
	(forward-line 1))
       (footnote--markers-alist
	(goto-char (cadr (car footnote--markers-alist))))))
     (t
      (error "I don't see a footnote here")))))