Function: consult-org--group

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

Signature

(consult-org--group CAND TRANSFORM)

Documentation

Return title for CAND or TRANSFORM the candidate.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20261004.957/consult-org.el
(defun consult-org--group (cand transform)
  "Return title for CAND or TRANSFORM the candidate."
  (pcase-let ((`(,_level ,_todo ,_prio . ,buffer)
               (get-text-property 0 'consult-org--heading cand)))
    (if transform (substring cand (1+ (length buffer))) buffer)))