Function: kotl-mode:hide-sublevels
kotl-mode:hide-sublevels is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:hide-sublevels LEVELS-TO-KEEP)
Documentation
Hide all cells in outline at levels deeper than LEVELS-TO-KEEP (a number).
Shows any hidden cells within LEVELS-TO-KEEP. 1 is the first level. 0 means display all levels of cells. Interactively, prompts for LEVELS-TO-KEEP.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
;;;
(defun kotl-mode:hide-sublevels (levels-to-keep)
"Hide all cells in outline at levels deeper than LEVELS-TO-KEEP (a number).
Shows any hidden cells within LEVELS-TO-KEEP. 1 is the first level. 0 means
display all levels of cells. Interactively, prompts for LEVELS-TO-KEEP."
(interactive "P")
(kvspec:levels-to-show levels-to-keep)
;; The prior call might have shown more lines per cell than the current
;; viewspec supports, so reset lines per cell.
(kvspec:lines-to-show)
(kvspec:update t))