Function: org-cite-inside-footnote-p
org-cite-inside-footnote-p is a byte-compiled function defined in
oc.el.gz.
Signature
(org-cite-inside-footnote-p CITATION &optional STRICT)
Documentation
Non-nil when CITATION object is contained within a footnote.
When optional argument STRICT is non-nil, return t only if CITATION represents
the sole contents of the footnote, e.g., after calling org-cite-wrap-citation.
When non-nil, the return value if the footnote container.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
(defun org-cite-inside-footnote-p (citation &optional strict)
"Non-nil when CITATION object is contained within a footnote.
When optional argument STRICT is non-nil, return t only if CITATION represents
the sole contents of the footnote, e.g., after calling `org-cite-wrap-citation'.
When non-nil, the return value if the footnote container."
(let ((footnote
(org-element-lineage
citation
'(footnote-definition footnote-reference))))
(and footnote
(or (not strict)
(equal (org-element-contents (org-element-parent citation))
(list citation)))
;; Return value.
footnote)))