Function: kmacro-end-macro

Finish defining a keyboard macro.
The definition was started by C-x (.
The macro is now available for use via M-x kmacro-call-macro,
or it can be given a name with M-x kmacro-name-last-macro and then invoked
under that name.

With numeric arg, repeat macro now that many times,
counting the definition just completed as the first repetition.
An argument of zero means repeat until error. (fn ARG)