Function: consult--line-match
consult--line-match is a natively compiled function defined in
consult.el.
Signature
(consult--line-match SELECTED CANDIDATES INPUT &rest _)
Documentation
Lookup position of match.
SELECTED is the currently selected candidate. CANDIDATES is the list of candidates. INPUT is the input string entered by the user.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defun consult--line-match (selected candidates input &rest _)
"Lookup position of match.
SELECTED is the currently selected candidate.
CANDIDATES is the list of candidates.
INPUT is the input string entered by the user."
(consult--line-point-placement selected candidates
(and (not (string-blank-p input))
(car (consult--completion-filter
input
(list (substring-no-properties selected))
'consult-location 'highlight)))
'completions-first-difference))