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

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

Re: binding f12


From: Jeremiah Dodds
Subject: Re: binding f12
Date: Thu, 26 Jul 2012 18:49:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

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
>
>

(global-set-key [f12] 'compile)

-- 
Jeremiah Dodds

github: https://github.com/jdodds
irc   : exhortatory



reply via email to

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