Thank you for the response.
I do try it with [f12] and when pressing f12, it still says <f12> is undefined.
emacs version 24.1.1
(global-set-key [f12] 'compile)Jai Dayal <dayalsoap@gmail.com> writes:
> Hi, I'm trying to bind f12 to compile. In my .emacs file, i do
>
> (global-set-key "f12" 'compile)
>
> however, every time I press f12, it says <f12> is undefined
>
> How do I specify f keys for global-set-key in the .emacs file?
>
> Jai
>
>
--
Jeremiah Dodds
github: https://github.com/jdodds
irc : exhortatory