unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rodrigo Canellas <r.canellas@terra.com.br>
Subject: compile command
Date: Thu, 25 Nov 2004 20:00:31 -0200	[thread overview]
Message-ID: <200411252000.31474.r.canellas@terra.com.br> (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

             reply	other threads:[~2004-11-25 22:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25 22:00 Rodrigo Canellas [this message]
2004-11-26  9:01 ` compile command 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411252000.31474.r.canellas@terra.com.br \
    --to=r.canellas@terra.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).