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: Rodrigo Canellas
Subject: Re: build-and-save-all
Date: Fri, 3 Dec 2004 20:43:02 -0200
User-agent: KMail/1.6.2

Thanks! I will try that and let you know.



Em Quinta 02 Dezembro 2004 20:09, Kevin Rodgers escreveu:
> Kevin Rodgers wrote:
>  > (defun compile-project ()
>  >   "Compile the project to which this source file belongs."
>  >   (interactive)
>  >   ;; ./project.dir must be a symbolic link to the project directory:
>  >   (let ((default-directory (file-truename "project.dir")))
>  >     (compile "make")))
>
> I forgot the part about saving all the buffers:
>
> (defun compile-project ()
>    "Compile the project to which this source file belongs."
>    (interactive)
>    ;; ./project.dir must be a symbolic link to the project directory:
>    (let ((default-directory (file-truename "project.dir"))
>  (compilation-ask-about-save nil))
>      (compile "make")))

-- 
Rodrigo Canellas
Engenheiro de Sistemas de Informação




reply via email to

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