Skip to content

Commit

Permalink
contrib/emacs: Use non-interactive function to byte-compile files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xavier Maillard authored and Junio C Hamano committed Mar 5, 2007
1 parent ac3ec0d commit 5ced057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/emacs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

0 comments on commit 5ced057

Please sign in to comment.