Function: embark--record-target-in-history
embark--record-target-in-history is a natively compiled function
defined in embark.el.
Signature
(embark--record-target-in-history ACTION TARGET)
Documentation
Record TARGET for ACTION in the current minibuffer history.
Source Code
;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
(defun embark--record-target-in-history (action target)
"Record TARGET for ACTION in the current minibuffer history."
(when (and (minibufferp)
(embark--record-history-p action)
(not (eq minibuffer-history-variable t)))
(let ((raw (plist-get target :target)))
(when (stringp raw)
(add-to-history
minibuffer-history-variable
(substring-no-properties raw))))))