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

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

How to defun body in procedural manner


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

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.


reply via email to

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