git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Use non-interactive function to byte-compile files

From
XMXavier Maillard <zedek@gnu.org>
Date
Mar 5, 2007, 08:23 UTC
Message-ID
<200703050823.l258NgT9008266@localhost.localdomain>
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
Next: Karl Hasselström
Message 1 of 8 in “Use non-interactive function to byte-compile files”
  1. Use non-interactive function to byte-compile filesXavier Maillard, Mar 5, 2007
  2. Karl HasselströmMar 5, 2007
  3. Johannes SchindelinMar 5, 2007
  4. Karl HasselströmMar 5, 2007
  5. Begin SubmittingPatches with a check listJohannes Schindelin, Mar 5, 2007
  6. Alex RiesenMar 5, 2007
  7. Brian GernhardtMar 5, 2007
  8. Johannes SchindelinMar 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.