Function: consult--location-candidate
consult--location-candidate is a byte-compiled function defined in
consult.el.
Signature
(consult--location-candidate CAND MARKER LINE TOFU &rest PROPS)
Documentation
Add MARKER and LINE as consult-location text property to CAND.
Furthermore add the additional text properties PROPS, and append TOFU suffix for disambiguation.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defsubst consult--location-candidate (cand marker line tofu &rest props)
"Add MARKER and LINE as `consult-location' text property to CAND.
Furthermore add the additional text properties PROPS, and append
TOFU suffix for disambiguation."
(setq cand (concat cand (consult--tofu-encode tofu)))
(add-text-properties 0 1 `(consult-location (,marker . ,line) ,@props) cand)
cand)