Function: embark-target-completion-list-candidate
embark-target-completion-list-candidate is a byte-compiled function
defined in embark.el.
Signature
(embark-target-completion-list-candidate)
Documentation
Return the completion candidate at point in a completions buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-target-completion-list-candidate ()
"Return the completion candidate at point in a completions buffer."
(embark--with-completion-list-buffer
(lambda ()
(pcase (completion-list-candidate-at-point)
(`(,raw ,beg ,end)
`(,embark--type
,(if (eq embark--type 'file)
(abbreviate-file-name (expand-file-name raw))
raw)
,beg . ,end))))))