name-last-kbd-macro
name-last-kbd-macro is an interactive autoloaded Lisp function in `macros.el
'.
(name-last-kbd-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.