Function: embark--confirm

embark--confirm is a byte-compiled function defined in embark.el.

Signature

(embark--confirm &key ACTION TARGET &allow-other-keys)

Documentation

Ask for confirmation before running the ACTION on the TARGET.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(cl-defun embark--confirm (&key action target &allow-other-keys)
  "Ask for confirmation before running the ACTION on the TARGET."
  (unless (y-or-n-p (format "Run %s on %s? " action target))
    (user-error "Canceled")))