Function: org-reduced-level

org-reduced-level is a byte-compiled function defined in org.el.gz.

Signature

(org-reduced-level L)

Documentation

Compute the effective level of a heading.

This takes into account the setting of org-odd-levels-only.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-reduced-level (l)
  "Compute the effective level of a heading.
This takes into account the setting of `org-odd-levels-only'."
  (cond
   ((zerop l) 0)
   (org-odd-levels-only (1+ (floor (/ l 2))))
   (t l)))