help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: How to get keyboard macro that was just run?


From: Drew Adams
Subject: RE: [External] : Re: How to get keyboard macro that was just run?
Date: Sun, 18 Jun 2023 17:13:00 +0000

I may be misunderstanding, but is there a
reason you don't just name the keyboard
macro you want to reuse multiple times?
___

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)

For more information see the manuals.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]