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

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

Re: auto complile the C program in the current buffer


From: Kevin Rodgers
Subject: Re: auto complile the C program in the current buffer
Date: Mon, 14 Feb 2005 11:41:46 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

GVK wrote:
> I have the following lines for C mode
>
> (define-key c-mode-map "\C-c\C-c" 'compile)
> (setq compile-command "gcc ")
>
> But when I type C-c C-c, all I get in minibuffer is the line
>
> gcc
>
> How can I make C-c C-c compile the C prog in the current buffer?

`C-h v compile-command' has that very example.

--
Kevin Rodgers

reply via email to

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