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

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

Re: binding f12


From: Jai Dayal
Subject: Re: binding f12
Date: Thu, 26 Jul 2012 16:59:39 -0600

After restarting my macbook, [f12] works (didn't make any changes with the .emacs file between restarts).  strange.

Jai

On Thu, Jul 26, 2012 at 4:52 PM, Jai Dayal <dayalsoap@gmail.com> wrote:
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


On Thu, Jul 26, 2012 at 4:49 PM, Jeremiah Dodds <jeremiah.dodds@gmail.com> wrote:
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]