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: thierry . volpiatto
Subject: Re: How to defun body in procedural manner
Date: Fri, 17 Apr 2009 07:52:23 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux)

Hi, i don't use cvs, but you should have a look at what return:
`cvs-sentinel'.
and:
(when (cvs-sentinel ==> return_what_you_want)
  (shell-command "your_command"))

Kiwon Um <um.kiwon@gmail.com> writes:

> 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.
>
> Thanks.
>

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





reply via email to

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