Function: kvspec:activate
kvspec:activate is an interactive and byte-compiled function defined
in kvspec.el.
Signature
(kvspec:activate &optional VIEW-SPEC)
Documentation
Activate optional VIEW-SPEC or existing view spec in the current koutline.
VIEW-SPEC is a string or t, which means recompute the current view spec. See
${hyperb:dir}/kotl/EXAMPLE.kotl#3b19c=042 for details on valid view specs.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kvspec.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************
(defun kvspec:activate (&optional view-spec)
"Activate optional VIEW-SPEC or existing view spec in the current koutline.
VIEW-SPEC is a string or t, which means recompute the current view spec. See
${hyperb:dir}/kotl/EXAMPLE.kotl#3b19c=042 for details on valid view specs."
(interactive (list (read-string "Set view spec: " kvspec:current)))
(kotl-mode:is-p)
(kfile:narrow-to-kcells)
(when (equal view-spec "")
(setq view-spec nil))
(kvspec:initialize)
(kvspec:update view-spec)
(kvspec:update-view))