Function: org-footnote--set-label

org-footnote--set-label is a byte-compiled function defined in org-footnote.el.gz.

Signature

(org-footnote--set-label LABEL)

Documentation

Set label of footnote at point to string LABEL.

Assume point is at the beginning of the reference or definition to rename.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
(defun org-footnote--set-label (label)
  "Set label of footnote at point to string LABEL.
Assume point is at the beginning of the reference or definition
to rename."
  (forward-char 4)
  (cond ((eq (char-after) ?:) (insert label))
	((looking-at "\\([-_[:word:]]+\\)") (replace-match label nil nil nil 1))
	(t nil)))