Function: klabel:to-kotl-label

klabel:to-kotl-label is a byte-compiled function defined in klabel.el.

Signature

(klabel:to-kotl-label LABEL)

Documentation

Given full alpha or legal LABEL, return rightmost part, called a kotl-label.

For example, the full label "1a2" has kotl-label "2", as does "1.1.2".

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/klabel.el
(defun klabel:to-kotl-label (label)
  "Given full alpha or legal LABEL, return rightmost part, called a kotl-label.
For example, the full label \"1a2\" has kotl-label \"2\", as does \"1.1.2\"."
  (if (string-match "[0-9]+$\\|[a-zA-Z]+$" label)
      (substring label (match-beginning 0))
    (error "(klabel:to-kotl-label): Invalid label, `%s'" label)))