Function: embark--mark-target
embark--mark-target is a natively compiled function defined in
embark.el.
Signature
(embark--mark-target &rest REST &key RUN BOUNDS &allow-other-keys)
Documentation
Mark the target if its BOUNDS are known.
After marking the target, call RUN with the REST of its arguments.
Source Code
;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
(cl-defun embark--mark-target (&rest rest &key run bounds &allow-other-keys)
"Mark the target if its BOUNDS are known.
After marking the target, call RUN with the REST of its arguments."
(cond
((and bounds run)
(save-mark-and-excursion
(set-mark (cdr bounds))
(goto-char (car bounds))
(apply run :bounds bounds rest)))
(bounds ;; used as pre- or post-action hook
(set-mark (cdr bounds))
(goto-char (car bounds)))
(run (apply run rest))))