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

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

Re: compile command


From: Kai Grossjohann
Subject: Re: compile command
Date: Fri, 26 Nov 2004 10:01:07 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Rodrigo Canellas <r.canellas@terra.com.br> writes:

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

You can set the variable compile-command to "make" and then invoke
recompile instead of compile.

Does that help?

Kai





reply via email to

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