[Top][All Lists]

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

Re: function keys in macro

From: Michael Heerdegen
Subject: Re: function keys in macro
Date: Mon, 25 Nov 2013 13:38:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Emanuel Berg <> writes:

> I tried so many ways to include one of the function
> keys in a macro, like:
> (fset 'F2 (kbd "M-<f2>"))
> (fset 'F2 (kbd "<M-f2>"))
> (fset 'F2 [(meta f2)])
> (fset 'F2 [M-f2])
> ;; and more...
> and then (after either of the above)
> (execute-kbd-macro (symbol-function 'F2))

Have you bound M-f2 to any command?


reply via email to

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