Function: embark--record-history-p

embark--record-history-p is a natively compiled function defined in embark.el.

Signature

(embark--record-history-p ACTION)

Documentation

Return non-nil if ACTION should push the current target to history.

Source Code

;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
(defun embark--record-history-p (action)
  "Return non-nil if ACTION should push the current target to history."
  (pcase embark-record-minibuffer-history
    ('t t)
    ('nil nil)
    (`(skip . ,actions) (not (memq action actions)))
    (_ nil)))