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

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

Re: Checking Process Status


From: CarlC
Subject: Re: Checking Process Status
Date: Wed, 12 Feb 2003 22:55:30 GMT

"David Kastrup" <dak@gnu.org> wrote in message
x5wuk52k8v.fsf@lola.goethe.zz">news:x5wuk52k8v.fsf@lola.goethe.zz...
> I'd use
> (defadvice compile (around cobol-compile activate)
>   "Set ...."
>   (let ((saved-start-process (symbol-function 'start-process)))
>        (unwind-protect
>          (progn (fmakunbound 'start-process) ad-to-it)
>          (fset 'start-process saved-start-process))))

I haven't taken the time to figure out the "around" command. Is this like an
"if", where the first function goes before and all others go after the
compile function? The main part of my need is to add stuff after the
compilation has finished, but I also do some things prior to compiling.




reply via email to

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