all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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 --
     [not found] <mailman.1520.1101420923.27204.help-gnu-emacs@gnu.org>
2004-11-25 23:29 ` compile command Pascal Bourguignon
2004-11-26  9:31 ` FCC
2004-11-25 22:00 Rodrigo Canellas
2004-11-26  9:01 ` Kai Grossjohann
2004-11-26  9:13   ` Rodrigo Canellas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.