Function: consult--line-multi-group

consult--line-multi-group is a natively compiled function defined in consult.el.

Signature

(consult--line-multi-group CAND TRANSFORM)

Documentation

Group function used by consult-line-multi.

If TRANSFORM non-nil, return transformed CAND, otherwise return title.

Source Code

;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defun consult--line-multi-group (cand transform)
  "Group function used by `consult-line-multi'.
If TRANSFORM non-nil, return transformed CAND, otherwise return title."
  (if transform cand
    (let* ((marker (car (get-text-property 0 'consult-location cand)))
           (buf (if (consp marker)
                    (car marker) ;; Handle cheap marker
                  (marker-buffer marker))))
      (if buf (buffer-name buf) "Dead buffer"))))