Function: embark--record-this-command

embark--record-this-command is a byte-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 ~/.emacs.d/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))