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

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

Re: How to defun body in procedural manner


From: Kiwon Um
Subject: Re: How to defun body in procedural manner
Date: Thu, 16 Apr 2009 22:29:24 -0700 (PDT)
User-agent: G2/1.0

On 4월17일, 오후1시37분, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article
> <54d389f8-ce90-428d-8fa1-a88c97158...@d2g2000pra.googlegroups.com>,
>  Kiwon Um <um.ki...@gmail.com> wrote:
>
> > Hello. I wrote a function as follows:
>
> > (defun my-update-package (path)
> >   "Update the package in path from CVS"
> >   (cvs-update path nil)
> >   (shell-command (concat "touch `find " path " -name Makefile`"))
> >   (compile (concat "make -C " path)))
>
> > When the function is called, it seems to execute the shell-command and
> > compile lines before the finishing cvs-update line. How can I make
> > this functional execution procedurally? Help me, please.
>
> Lisp does execute procedurally.  The problem is that cvs-update starts a
> background process to do the work, and then returns.
>
> --
> Barry Margolin, bar...@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***

Thanks for your reply. So how can I check the return time of the
background process?


reply via email to

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