提交 5ced0572 编写于 作者: X Xavier Maillard 提交者: Junio C Hamano

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: NXavier Maillard <zedek@gnu.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 ac3ec0d5
......@@ -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)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册