Function: klabel-type:set-id
klabel-type:set-id is a byte-compiled function defined in klabel.el.
Signature
(klabel-type:set-id 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.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/klabel.el
(defun klabel-type:set-id (_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."
;; 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 (kcell-view:idstamp) lbl-sep-len)
(kcell-view:next nil lbl-sep-len)))))