Function: allout-toggle-current-subtree-exposure

allout-toggle-current-subtree-exposure is an interactive and byte-compiled function defined in allout.el.gz.

Signature

(allout-toggle-current-subtree-exposure)

Documentation

Show or hide the current subtree depending on its current state.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_   > allout-toggle-current-subtree-exposure
(defun allout-toggle-current-subtree-exposure ()
  "Show or hide the current subtree depending on its current state."
  ;; thanks to tassilo for suggesting this.
  (interactive)
  (save-excursion
    (allout-back-to-heading)
    (if (allout-hidden-p (line-end-position))
        (allout-show-current-subtree)
      (allout-hide-current-subtree))))