Skip to content

Commit fa5672f

Browse files
committed
Enable byte-compile-error-on-warn for make check
This should fix #105 for good
1 parent 3a68bcc commit fa5672f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ all: compile $(AUTOLOADS)
5454

5555
compile: $(ELCFILES)
5656

57-
check: # TODO: activate 'byte-compile-error-on-warn' when we have fixed most warnings
58-
$(BATCH) --eval "(byte-compile-disable-warning 'cl-functions)" \
57+
check:
58+
$(BATCH) \
59+
--eval "(setq byte-compile-error-on-warn t)" \
60+
--eval "(byte-compile-disable-warning 'cl-functions)" \
5961
-f batch-byte-compile $(ELFILES)
6062
@$(RM) $(ELCFILES)
6163
$(BATCH) --eval '(when (check-declare-directory ".") (error "check-declare failed"))'

0 commit comments

Comments
 (0)