Function: org-cycle-global

org-cycle-global is an autoloaded, interactive and byte-compiled function defined in org-cycle.el.gz.

Signature

(org-cycle-global &optional ARG)

Documentation

Cycle the global visibility. For details see org-cycle.

With C-u (universal-argument) prefix ARG, switch to startup visibility. With a numeric prefix, show all headlines up to that level.

Key Bindings

Aliases

org-global-cycle

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-cycle.el.gz
;;;###autoload
(defun org-cycle-global (&optional arg)
  "Cycle the global visibility.  For details see `org-cycle'.
With `\\[universal-argument]' prefix ARG, switch to startup visibility.
With a numeric prefix, show all headlines up to that level."
  (interactive "P")
  (cond
   ((integerp arg)
    (org-cycle-content arg)
    (setq org-cycle-global-status 'contents))
   ((equal arg '(4))
    (org-cycle-set-startup-visibility)
    (org-unlogged-message "Startup visibility, plus VISIBILITY properties."))
   (t
    (org-cycle '(4)))))