kmacro-name-last-macro

kmacro-name-last-macro is an interactive compiled Lisp function in `kmacro.el'.

It is bound to C-x C-k n.

(kmacro-name-last-macro SYMBOL)

Assign a name to the last keyboard macro defined.
Argument SYMBOL is the name to define.
The symbol's function definition becomes the keyboard macro string.
Such a "function" cannot be called from Lisp, but it is a valid editor command.