Function: org-export-excluded-from-toc-p

org-export-excluded-from-toc-p is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-excluded-from-toc-p HEADLINE INFO)

Documentation

Non-nil if HEADLINE should be excluded from tables of contents.

INFO is a plist used as a communication channel.

Note that such headlines are already excluded from org-export-collect-headlines. Therefore, this function is not necessary if you only need to list headlines in the table of contents. However, it is useful if some additional processing is required on headlines excluded from table of contents.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-excluded-from-toc-p (headline info)
  "Non-nil if HEADLINE should be excluded from tables of contents.

INFO is a plist used as a communication channel.

Note that such headlines are already excluded from
`org-export-collect-headlines'.  Therefore, this function is not
necessary if you only need to list headlines in the table of
contents.  However, it is useful if some additional processing is
required on headlines excluded from table of contents."
  (or (org-element-property :footnote-section-p headline)
      (org-export-low-level-p headline info)
      (equal "notoc" (org-export-get-node-property :UNNUMBERED headline t))))