kmacro-start-macro-or-insert-counter
kmacro-start-macro-or-insert-counter is an interactive autoloaded compiled Lisp function in `kmacro.el
'.
It is bound to <f3>.
(kmacro-start-macro-or-insert-counter ARG
)
Record subsequent keyboard input, defining a keyboard macro.
The commands are recorded even as they are executed.
Sets the `kmacro-counter' to ARG (or 0 if no prefix arg) before defining the
macro.
With C-u, appends to current keyboard macro (keeping
the current value of `kmacro-counter').
When defining/executing macro, inserts macro counter and increments
the counter with ARG or 1 if missing. With C-u,
inserts previous `kmacro-counter' (but do not modify counter).
The macro counter can be modified via C-x C-k C-c and C-x C-k C-a.
The format of the counter can be modified via C-x C-k C-f.