comp.emacs
[Top] [All Lists]

Re: how to call compile command

Subject: Re: how to call compile command
From: David Hansen
Date: Tue, 05 Aug 2008 13:39:28 +0200
Newsgroups: comp.emacs

On Tue, 5 Aug 2008 04:15:54 -0700 (PDT) <dejfson@xxxxxxxxx> wrote:

> i'd like to call compile command from elisp. I need a function, which
> exits when the compilation is finished. As compilation is asynchronous
> process, it needs to be synchronized. I wrote then a hook which should
> do the job, and called my compiling function:

How about

,----[ C-h v compilation-finish-functions RET ]
| compilation-finish-functions is a variable defined in `compile.el'.
| Its value is nil
| 
| Documentation:
| Functions to call when a compilation process finishes.
| Each function is called with two arguments: the compilation buffer,
| and a string describing how the process finished.
| 
`----

David

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy