Variable: embark-repeat-actions

embark-repeat-actions is a customizable variable defined in embark.el.

Value

((mark . region) outline-next-visible-heading
 outline-previous-visible-heading outline-forward-same-level
 outline-backward-same-level outline-demote outline-promote
 outline-show-subtree (outline-mark-subtree . region)
 outline-move-subtree-up outline-move-subtree-down outline-up-heading
 outline-hide-subtree outline-cycle org-forward-heading-same-level
 org-backward-heading-same-level org-next-visible-heading
 org-previous-visible-heading org-demote-subtree org-promote-subtree
 org-show-subtree (org-mark-subtree . region) org-move-subtree-up
 org-move-subtree-down transpose-sexps transpose-sentences
 transpose-paragraphs flymake-goto-next-error flymake-goto-prev-error
 embark-next-symbol embark-previous-symbol backward-up-list
 backward-list forward-list forward-sexp backward-sexp
 forward-sentence backward-sentence forward-paragraph
 backward-paragraph smerge-refine smerge-combine-with-next smerge-prev
 smerge-next)

Documentation

List of repeatable actions.

When you use a command on this list as an Embark action from outside the minibuffer, embark-act does not exit but instead lets you act again on the possibly new target you reach.

By default, after using one of these actions, when embark-act looks for targets again, it will start the target cycle at the same type as the previously acted upon target; that is, you
"don't loose your place in the target cycle".

Sometimes, however, you'll want to prioritize a different type of target to continue acting on. The main example of this that if you use a marking command as an action, you almost always want to act on the region next. For those cases, in addition to commands, you can also place on this list a pair of a command and the desired starting type for the target cycle for the next action.

Source Code

;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
(defcustom embark-repeat-actions
  '((mark . region)
    ;; outline commands
    outline-next-visible-heading outline-previous-visible-heading
    outline-forward-same-level outline-backward-same-level
    outline-demote outline-promote
    outline-show-subtree (outline-mark-subtree . region)
    outline-move-subtree-up outline-move-subtree-down
    outline-up-heading outline-hide-subtree outline-cycle
    ;; org commands (remapped outline commands)
    org-forward-heading-same-level org-backward-heading-same-level
    org-next-visible-heading org-previous-visible-heading
    org-demote-subtree org-promote-subtree
    org-show-subtree (org-mark-subtree . region)
    org-move-subtree-up org-move-subtree-down
    ;; transpose commands
    transpose-sexps transpose-sentences transpose-paragraphs
    ;; navigation commands
    flymake-goto-next-error flymake-goto-prev-error
    embark-next-symbol embark-previous-symbol
    backward-up-list backward-list forward-list forward-sexp
    backward-sexp forward-sentence backward-sentence
    forward-paragraph backward-paragraph
    ;; smerge commands
    smerge-refine smerge-combine-with-next smerge-prev smerge-next)
  "List of repeatable actions.
When you use a command on this list as an Embark action from
outside the minibuffer, `embark-act' does not exit but instead
lets you act again on the possibly new target you reach.

By default, after using one of these actions, when `embark-act'
looks for targets again, it will start the target cycle at the
same type as the previously acted upon target; that is, you
\"don't loose your place in the target cycle\".

Sometimes, however, you'll want to prioritize a different type of
target to continue acting on.  The main example of this that if
you use a marking command as an action, you almost always want to
act on the region next.  For those cases, in addition to
commands, you can also place on this list a pair of a command and
the desired starting type for the target cycle for the next
action."
  :type '(repeat (choice function
                         (cons function
                               (symbol :tag "Next target type")))))