Function: org-fold-show-context

org-fold-show-context is a byte-compiled function defined in org-fold.el.gz.

Signature

(org-fold-show-context &optional KEY)

Documentation

Make sure point and context are visible.

Optional argument KEY, when non-nil, is a symbol. See org-fold-show-context-detail for allowed values and how much is to be shown.

Aliases

org-show-context (obsolete since 9.6)

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold.el.gz
;;;;; Reveal point location

(defun org-fold-show-context (&optional key)
  "Make sure point and context are visible.
Optional argument KEY, when non-nil, is a symbol.  See
`org-fold-show-context-detail' for allowed values and how much is to
be shown."
  (org-fold-show-set-visibility
   (cond ((symbolp org-fold-show-context-detail) org-fold-show-context-detail)
	 ((cdr (assq key org-fold-show-context-detail)))
	 (t (cdr (assq 'default org-fold-show-context-detail))))))