Function: vertico--prepare

vertico--prepare is a byte-compiled function defined in vertico.el.

Signature

(vertico--prepare)

Documentation

Ensure that the state is prepared before running the next command.

Implementations

(vertico--prepare) in `vertico.el'.

Undocumented

Source Code

;; Defined in /nix/store/h1nc2k1rxmi6k9cfflcd37cf4zfhp2v5-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-20260913.1525/vertico.el
(cl-defgeneric vertico--prepare ()
  "Ensure that the state is prepared before running the next command."
  (when-let* ((cmd (and (symbolp this-command) (symbol-name this-command)))
              ((string-prefix-p "vertico-" cmd))
              ((not (and vertico--metadata (string-prefix-p "vertico-directory-" cmd)))))
    (vertico--update)))