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

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

Re: build-and-save-all


From: Arturs Jurnieks
Subject: Re: build-and-save-all
Date: 29 Nov 2004 21:14:27 -0800

Rodrigo Canellas <r.canellas@terra.com.br> wrote in message 
news:<mailman.2277.1101765159.27204.help-gnu-emacs@gnu.org>...
> Hi,
> 
> 
> I would like to create a function that would save all the buffers and then 
> build the project being edited.
> 
> If I got it tight, in order to run 'make' the cursor must be in the buffer of 
> the 'makefile', or at least in a buffer of a file saved in the same directory 
> of the 'makefile'. So, before calling 'make', this function must first set 
> the 'makefile' buffer as the current buffer.
> 
> Does anyone know if something like that already exists? Would someone help me 
> on that?
> 
> 
> Thanks a lot,
> 
>   Rodrigo Canellas

What about using the command "Meta-x compile" in your function to invoke 
makefile?

Just a suggestion...

A.


reply via email to

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