Function: klabel-type:set-star
klabel-type:set-star is a byte-compiled function defined in klabel.el.
Signature
(klabel-type:set-star CURRENT-CELL-LABEL LBL-SEP-LEN &rest IGNORE)
Documentation
Set the labels of current cell, its following siblings and their subtrees.
CURRENT-CELL-LABEL is the label to display for the current cell. LBL-SEP-LEN is the length of the separation between a cell's label and the start of its contents.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/klabel.el
(defun klabel-type:set-star (_current-cell-label lbl-sep-len &rest _ignore)
"Set the labels of current cell, its following siblings and their subtrees.
CURRENT-CELL-LABEL is the label to display for the current cell.
LBL-SEP-LEN is the length of the separation between a cell's label
and the start of its contents."
;; Only need to do this when switching from one label type to another,
;; i.e. when every cell label will be updated. So if not starting with the
;; first cell, do nothing.
(if (kotl-mode:first-cell-p)
(while (and (klabel:set (make-string
(kcell-view:level nil lbl-sep-len) ?*)
lbl-sep-len)
(kcell-view:next nil lbl-sep-len)))))