unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* compile command
@ 2004-11-25 22:00 Rodrigo Canellas
  2004-11-26  9:01 ` Kai Grossjohann
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Canellas @ 2004-11-25 22:00 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.1520.1101420923.27204.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2004-11-26  9:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25 22:00 compile command Rodrigo Canellas
2004-11-26  9:01 ` Kai Grossjohann
2004-11-26  9:13   ` Rodrigo Canellas
     [not found] <mailman.1520.1101420923.27204.help-gnu-emacs@gnu.org>
2004-11-25 23:29 ` Pascal Bourguignon
2004-11-26  9:31 ` FCC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).