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

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

Re: Waiting on compilation to finish before executing another function


From: Rami A
Subject: Re: Waiting on compilation to finish before executing another function
Date: Thu, 15 Aug 2013 14:46:19 -0700 (PDT)
User-agent: G2/1.0

Thien,
That's a good idea.
I am not an expert in elisp. Could you help me implement the local variable as 
you suggested in this function and conditionally hooking it 
to‘compilation-finish-functions’ :

(defun compile-hgpull ()
  (interactive)
  (save-all-buffers)
  (compile-pkg "hg pull -u")
; if (compile finished) -> (revert-all-buffers)
  )


reply via email to

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