Browse Source

Use byte-compile to check emacs.el

pull/2/head
10sr 9 years ago
parent
commit
fd098d6dea
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      Makefile

+ 7
- 2
Makefile View File

@@ -94,9 +94,14 @@ setup-emacs: emacs.el
# test # test
# ==== # ====


test-el: emacs.el
test_els = test-el-emacs.el
test-el: $(test_els)
.PHONY: $(test_els)

$(test_els): test-el-%: %
$(emacs) -Q -batch -f batch-byte-compile $<
EMACS_EL_DRY_RUN=t $(emacs) -q --debug-init --batch \ EMACS_EL_DRY_RUN=t $(emacs) -q --debug-init --batch \
--eval "(setq debug-on-error t)" --load $< --kill
--eval "(setq debug-on-error t)" --load $<c --kill








Loading…
Cancel
Save