Function: org-footnote-delete-references
org-footnote-delete-references is a byte-compiled function defined in
org-footnote.el.gz.
Signature
(org-footnote-delete-references LABEL)
Documentation
Delete every reference to footnote LABEL.
Return the number of footnotes removed.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
(defun org-footnote-delete-references (label)
"Delete every reference to footnote LABEL.
Return the number of footnotes removed."
(save-excursion
(goto-char (point-min))
(let (ref (nref 0))
(while (setq ref (org-footnote-get-next-reference label))
(goto-char (nth 1 ref))
(delete-region (nth 1 ref) (nth 2 ref))
(cl-incf nref))
nref)))