Function: klabel-type:update-labels
klabel-type:update-labels is a byte-compiled function defined in
klabel.el.
Signature
(klabel-type:update-labels CURRENT-CELL-LABEL)
Documentation
Update the labels of current cell, its following siblings and their subtrees.
CURRENT-CELL-LABEL is the label to display for the current cell. If, however, it is "0", then all cell labels are updated.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/klabel.el
(defun klabel-type:update-labels (current-cell-label)
"Update the labels of current cell, its following siblings and their subtrees.
CURRENT-CELL-LABEL is the label to display for the current cell.
If, however, it is \"0\", then all cell labels are updated."
(let ((label-type (kview:label-type kotl-kview)))
(when (memq label-type '(alpha legal partial-alpha))
(if (string-equal current-cell-label "0")
;; Update all cells in view.
(klabel-type:set-labels label-type)
;; Update current tree and its siblings only.
(klabel-type:update-labels-from-point
label-type current-cell-label)))))