all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* build-and-load-etags
@ 2007-04-26 20:39 David L
  2007-04-26 20:42 ` build-and-load-etags Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: David L @ 2007-04-26 20:39 UTC (permalink / raw)
  To: help-gnu-emacs

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-04-28  8:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 20:39 build-and-load-etags David L
2007-04-26 20:42 ` build-and-load-etags Eli Zaretskii
2007-04-26 21:06   ` build-and-load-etags David L
2007-04-27  8:16     ` build-and-load-etags Eli Zaretskii
2007-04-27 19:41       ` build-and-load-etags David L
2007-04-28  2:21         ` build-and-load-etags Tom Tromey
2007-04-28  8:03         ` build-and-load-etags Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.