Function: embark--restart

embark--restart is a natively compiled function defined in embark.el.

Signature

(embark--restart &rest _)

Documentation

Restart current command with current input.

Use this to refresh the list of candidates for commands that do not handle that themselves.

Source Code

;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
;;; Hooks

(defun embark--restart (&rest _)
  "Restart current command with current input.
Use this to refresh the list of candidates for commands that do
not handle that themselves."
  (when (minibufferp)
    (embark--become-command embark--command (minibuffer-contents))))