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

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

build-and-load-etags


From: David L
Subject: build-and-load-etags
Date: Thu, 26 Apr 2007 13:39:14 -0700

I'm trying to write a function that will generate etags
and then load them, but I'm not sure how to make the
function wait for the etags building step to complete
before trying to load the etags.

I have an etags make target and I using emacs
compile to build the etags.  But it tries to load the
tags file before it finishes building.

Thanks...

       David

PS - I tried something like this:

(defun build-and-load-tags ()
 (build-etags)
 (visit-tags-table tags-file-name)
 (find-tag "main")
)

(defun build-etags ()
 (interactive)
 (compile "make etags")
 )

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/





reply via email to

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