Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 5ced057

Browse files
Xavier MaillardJunio C Hamano
authored andcommitted
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>
1 parent ac3ec0d commit 5ced057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/emacs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
EMACS = emacs
44

5-
ELC = git.elc vc-git.elc
5+
ELC = git.elc vc-git.elc git-blame.elc
66
INSTALL ?= install
77
INSTALL_ELC = $(INSTALL) -m 644
88
prefix ?= $(HOME)
@@ -15,6 +15,6 @@ install: all
1515
$(INSTALL_ELC) $(ELC) $(emacsdir)
1616

1717
%.elc: %.el
18-
$(EMACS) --batch --eval '(byte-compile-file "$<")'
18+
$(EMACS) -batch -f batch-byte-compile $<
1919

2020
clean:; rm -f $(ELC)

0 commit comments

Comments
 (0)