[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot call-last-kbd-macro on named macro
From: |
Mathias Dahl |
Subject: |
Re: cannot call-last-kbd-macro on named macro |
Date: |
Fri, 19 May 2006 16:06:13 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Brendan Halpin <brendan.halpin@ul.ie> writes:
>> Yes, that is really neat! How is it done? Programatically I mean. It
>> would be cool to be able to do the same with other commands (buffer
>> cycling, for example, which is now by default on C-x <left> and C-x
>> <right>).
>
> The function kmacro-call-macro in kmacro.el might be a good
> starting point.
Aaaaa... After looking at that piece of code for a while I noticed
this:
(if (equal repeat-key (read-event))
So *that* is what it does, read another event and then handles that.
Cool!
Don't ask me why I did not bother to look this up myself, it was right
there, only a C-h k away... :)