Function: kotl-mode:expand-tree
kotl-mode:expand-tree is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:expand-tree &optional ALL-FLAG)
Documentation
Expand each visible cell of the tree rooted at point.
With optional prefix ALL-FLAG non-nil, expand all cells visible within the current view.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:expand-tree (&optional all-flag)
"Expand each visible cell of the tree rooted at point.
With optional prefix ALL-FLAG non-nil, expand all cells visible within
the current view."
(interactive "P")
(kotl-mode:is-p)
(let (buffer-read-only)
(kview:map-tree
(lambda (_kview)
;; Use free variable kview-label-sep-len bound in kview:map-tree for speed.
(goto-char (kcell-view:start (point) kview-label-sep-len))
(outline-flag-region (point) (kcell-view:end-contents) nil))
kotl-kview all-flag t)))