Function: vertico-repeat-save
vertico-repeat-save is an autoloaded and byte-compiled function
defined in vertico-repeat.el.
Signature
(vertico-repeat-save)
Documentation
Save Vertico session for vertico-repeat.
This function must be registered as minibuffer-setup-hook.
Source Code
;; Defined in ~/.emacs.d/elpa/vertico-20260913.1525/vertico-repeat.el
;;;###autoload
(defun vertico-repeat-save ()
"Save Vertico session for `vertico-repeat'.
This function must be registered as `minibuffer-setup-hook'."
(when (and vertico--input (symbolp this-command))
;; TODO: On Emacs 32 we can likely use `current-minibuffer-command' instead
;; of remembering `this-command', see Emacs bug#80815.
(setq vertico-repeat--command this-command)
(add-hook 'post-command-hook #'vertico-repeat--remember-input nil 'local)
(add-hook 'minibuffer-exit-hook #'vertico-repeat--save-on-exit nil 'local)))