Function: mc/for-each-fake-cursor

mc/for-each-fake-cursor is a macro defined in multiple-cursors-core.el.

Signature

(mc/for-each-fake-cursor &rest FORMS)

Documentation

Runs the body for each fake cursor, bound to the name cursor

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defmacro mc/for-each-fake-cursor (&rest forms)
  "Runs the body for each fake cursor, bound to the name cursor"
  `(mapc #'(lambda (cursor) ,@forms)
         (mc/all-fake-cursors)))