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:28:52 -0600

Hi,
  I now tried
(global-set-key [f12] 'compile)

and it still says it's undefined.

On Thu, Jul 26, 2012 at 4:27 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

Am 27.07.2012 um 00:11 schrieb Jai Dayal:

> (global-set-key "f12" 'compile)

I think it has to be

        [f12]

a vector and a string.

You can bind the key manually first. When you succeeded you can repeat the last command (C-x ESC ESC) and, if necessary, you go back in history with the cursor keys. Then you'll see what the syntax has to be. And you can copy that command and insert it in your init file…

--
Greetings

  Pete

Increase the size of your bike by at least *five* inches!



reply via email to

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