Function: klabel:format
klabel:format is a byte-compiled function defined in klabel.el.
Signature
(klabel:format LABEL)
Documentation
Format a generic cell LABEL (a string) and return the display type.
Return the proper display type for the current kview.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/klabel.el
(defun klabel:format (label)
"Format a generic cell LABEL (a string) and return the display type.
Return the proper display type for the current kview."
(let ((label-type (or (kview:get-attr kotl-kview 'label-type) kview:default-label-type)))
(cond ((memq label-type '(alpha id legal partial-alpha))
label)
((eq label-type 'no) "")
((eq label-type 'star) "*")
((eq label-type 'id) label)
(t (error "(klabel:format): Invalid label type setting: `%s'" label-type)))))