Function: consult--prefix-group

consult--prefix-group is a byte-compiled function defined in consult.el.

Signature

(consult--prefix-group CAND TRANSFORM)

Documentation

Return title for CAND or TRANSFORM the candidate.

The candidate must have a consult--group property.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260926.910/consult.el
(defun consult--prefix-group (cand transform)
  "Return title for CAND or TRANSFORM the candidate.
The candidate must have a `consult--group' property."
  (if transform
      (substring cand (1+ (length (get-text-property 0 'consult--group cand))))
    (get-text-property 0 'consult--group cand)))