Variable: org-cycle-max-level
org-cycle-max-level is a customizable variable defined in
org-cycle.el.gz.
Value
nil
Documentation
Maximum level which should still be subject to visibility cycling.
Levels higher than this will, for cycling, be treated as text, not a headline.
When org-odd-levels-only is set, a value of N in this variable actually
means 2N-1 stars as the limiting headline.
When nil, cycle all levels.
Note that the limiting level of cycling is also influenced by
org-inlinetask-min-level. When org-cycle-max-level is not set but
org-inlinetask-min-level is, cycling will be limited to levels one less
than its value.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-cycle.el.gz
(defcustom org-cycle-max-level nil
"Maximum level which should still be subject to visibility cycling.
Levels higher than this will, for cycling, be treated as text, not a headline.
When `org-odd-levels-only' is set, a value of N in this variable actually
means 2N-1 stars as the limiting headline.
When nil, cycle all levels.
Note that the limiting level of cycling is also influenced by
`org-inlinetask-min-level'. When `org-cycle-max-level' is not set but
`org-inlinetask-min-level' is, cycling will be limited to levels one less
than its value."
:group 'org-cycle
:type '(choice
(const :tag "No limit" nil)
(integer :tag "Maximum level")))