summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Maillard <zedek@gnu.org>2007-03-05 08:23:42 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-05 08:45:57 (GMT)
commit5ced0572217f82f20c4a3460492768e07c08aeea (patch)
tree1d30eaabe4b6f7218e4e4cfff5670a493aa7358e
parentac3ec0d5558ed6805e55d5b18bd8ee893fda9065 (diff)
downloadgit-5ced0572217f82f20c4a3460492768e07c08aeea.zip
git-5ced0572217f82f20c4a3460492768e07c08aeea.tar.gz
git-5ced0572217f82f20c4a3460492768e07c08aeea.tar.bz2
contrib/emacs: Use non-interactive function to byte-compile files
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> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--contrib/emacs/Makefile4
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)