Function: embark--record-this-command

embark--record-this-command is a natively compiled function defined in embark.el.

Signature

(embark--record-this-command)

Documentation

Record command which opened the minibuffer.

We record this because it will be the default action. This function is meant to be added to minibuffer-setup-hook.

Source Code

;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
;;;###autoload
(progn
  (defun embark--record-this-command ()
    "Record command which opened the minibuffer.
We record this because it will be the default action.
This function is meant to be added to `minibuffer-setup-hook'."
    (setq-local embark--command this-command))
  (add-hook 'minibuffer-setup-hook #'embark--record-this-command))