Function: embark--vertico-selected

embark--vertico-selected is a byte-compiled function defined in embark.el.

Signature

(embark--vertico-selected)

Documentation

Target the currently selected item in Vertico.

Return the category metadatum as the type of the target.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--vertico-selected ()
  "Target the currently selected item in Vertico.
Return the category metadatum as the type of the target."
  (when vertico--input
    ;; Force candidate computation, if candidates are not yet available.
    (vertico--update)
    (cons (completion-metadata-get (embark--metadata) 'category)
          (vertico--candidate))))