git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Use non-interactive function to byte-compile files
@ 2007-03-05  8:23 Xavier Maillard
  2007-03-05  9:51 ` Karl Hasselström
  0 siblings, 1 reply; 8+ messages in thread
From: Xavier Maillard @ 2007-03-05  8:23 UTC (permalink / raw)
  To: git

Hi,

Ihope this one is more closed to what you expect to see in a
commit log.

* contrib/emacs/Makefile: add git-blame as a candidate to the
   	    byte-compilation.  batch-byte-compile is the prefered way
   	    to byte-compile files in batch mode. Use it instead of the
   	    interactive function.

Signed-off-by: Xavier Maillard <zedek@gnu.org>
---
 contrib/emacs/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
index 350846d..8554e39 100644
--- a/contrib/emacs/Makefile
+++ b/contrib/emacs/Makefile
@@ -2,7 +2,7 @@
 
 EMACS = emacs
 
-ELC = git.elc vc-git.elc
+ELC = git.elc vc-git.elc git-blame.elc
 INSTALL ?= install
 INSTALL_ELC = $(INSTALL) -m 644
 prefix ?= $(HOME)
@@ -15,6 +15,6 @@ install: all
 	$(INSTALL_ELC) $(ELC) $(emacsdir)
 
 %.elc: %.el
-	$(EMACS) --batch --eval '(byte-compile-file "$<")'
+	$(EMACS) -batch -f batch-byte-compile $<
 
 clean:; rm -f $(ELC)
-- 
1.5.0

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

end of thread, other threads:[~2007-03-05 23:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05  8:23 [PATCH] Use non-interactive function to byte-compile files Xavier Maillard
2007-03-05  9:51 ` Karl Hasselström
2007-03-05 14:54   ` Johannes Schindelin
2007-03-05 15:04     ` Karl Hasselström
2007-03-05 15:37       ` [PATCH] Begin SubmittingPatches with a check list Johannes Schindelin
2007-03-05 17:28         ` Alex Riesen
2007-03-05 20:52         ` Brian Gernhardt
2007-03-05 23:14           ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).