Function: mc--execute-extended-command-for-all-cursors

mc--execute-extended-command-for-all-cursors is a natively compiled function defined in multiple-cursors-core.el.

Signature

(mc--execute-extended-command-for-all-cursors &rest _)

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defun mc--execute-extended-command-for-all-cursors (&rest _)
  (when multiple-cursors-mode
    (unless (or mc/always-run-for-all
                (not (symbolp this-command))
                (memq this-command mc/cmds-to-run-for-all)
                (memq this-command mc/cmds-to-run-once)
                (memq this-command mc--default-cmds-to-run-for-all)
                (memq this-command mc--default-cmds-to-run-once))
      (mc/prompt-for-inclusion-in-whitelist this-command))
    (when (or mc/always-run-for-all
              (memq this-command mc/cmds-to-run-for-all)
              (memq this-command mc--default-cmds-to-run-for-all))
      (mc/execute-command-for-all-fake-cursors this-command))))