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

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

compile command


From: Rodrigo Canellas
Subject: compile command
Date: Thu, 25 Nov 2004 20:00:31 -0200
User-agent: KMail/1.6.2

Hi,


In my '.emacs' I have this:

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

But I would like to 'make' the project when I pressed 'f9'. 

I tried 

    (global-set-key [f9] '(compile make))   

but I got a syntax error.

I also tried (global-set-key [f9] '(compile (make)))  

but I got this message:

    Wrong type argument: commandp, (compile (make)


Does anyone know how it should be done?


Thanks,


Rodrigo Canellas




reply via email to

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