Function: embark-org--at-block-head
embark-org--at-block-head is a byte-compiled function defined in
embark-org.el.
Signature
(embark-org--at-block-head &rest REST &key RUN BOUNDS &allow-other-keys)
Documentation
Save excursion and RUN the action at the head of the current block.
If BOUNDS are given, use them to locate the block (useful for when acting on a selection of blocks). Applies RUN to the REST of the arguments.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark-org.el
(cl-defun embark-org--at-block-head
(&rest rest &key run bounds &allow-other-keys)
"Save excursion and RUN the action at the head of the current block.
If BOUNDS are given, use them to locate the block (useful for
when acting on a selection of blocks). Applies RUN to the REST
of the arguments."
(save-excursion
(when bounds (goto-char (car bounds)))
(org-babel-goto-src-block-head)
(apply run rest)))