Function: org-footnote-normalize-label
org-footnote-normalize-label is a byte-compiled function defined in
org-footnote.el.gz.
Signature
(org-footnote-normalize-label LABEL)
Documentation
Return LABEL without "fn:" prefix.
If LABEL is the empty string or constituted of white spaces only, return nil instead.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
;;;; Getters
(defun org-footnote-normalize-label (label)
"Return LABEL without \"fn:\" prefix.
If LABEL is the empty string or constituted of white spaces only,
return nil instead."
(pcase (org-trim label)
("" nil)
((pred (string-prefix-p "fn:")) (substring label 3))
(_ label)))