Function: org-footnote-in-valid-context-p
org-footnote-in-valid-context-p is a byte-compiled function defined in
org-footnote.el.gz.
Signature
(org-footnote-in-valid-context-p)
Documentation
Is point in a context where footnotes are allowed?
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
;;;; Predicates
(defun org-footnote-in-valid-context-p ()
"Is point in a context where footnotes are allowed?"
(save-match-data
(not (or (org-at-comment-p)
(org-inside-LaTeX-fragment-p)
;; Avoid literal example.
(org-in-verbatim-emphasis)
(save-excursion
(beginning-of-line)
(looking-at "[ \t]*:[ \t]+"))
;; Avoid forbidden blocks.
(org-in-block-p org-footnote-forbidden-blocks)))))