Function: org-export-low-level-p

org-export-low-level-p is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-low-level-p HEADLINE INFO)

Documentation

Non-nil when HEADLINE is considered as low level.

INFO is a plist used as a communication channel.

A low level headlines has a relative level greater than
:headline-levels property value.

Return value is the difference between HEADLINE relative level and the last level being considered as high enough, or nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-low-level-p (headline info)
  "Non-nil when HEADLINE is considered as low level.

INFO is a plist used as a communication channel.

A low level headlines has a relative level greater than
`:headline-levels' property value.

Return value is the difference between HEADLINE relative level
and the last level being considered as high enough, or nil."
  (let ((limit (plist-get info :headline-levels)))
    (when (wholenump limit)
      (let ((level (org-export-get-relative-level headline info)))
        (and (> level limit) (- level limit))))))