Function: corfu--metadata-get
corfu--metadata-get is a natively compiled function defined in
corfu.el.
Signature
(corfu--metadata-get PROP)
Documentation
Return PROP from completion metadata.
Source Code
;; Defined in /nix/store/za087xxa0z5mirfbbagrp0qfaqnfn5wb-emacs-packages-deps/share/emacs/site-lisp/elpa/corfu-20260913.1527/corfu.el
(defun corfu--metadata-get (prop)
"Return PROP from completion metadata."
;; Marginalia and various icon packages advise `completion-metadata-get' to
;; inject their annotations, but are meant only for minibuffer completion.
;; Therefore call `completion-metadata-get' without advices here.
(let ((completion-extra-properties (nth 4 completion-in-region--data)))
(funcall (advice--cd*r (symbol-function (compat-function completion-metadata-get)))
corfu--metadata prop)))