Function: embark--record-target-in-history
embark--record-target-in-history is a byte-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 ~/.emacs.d/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))))))