Skip to content

Commit eae0f4a

Browse files
committed
Makefile: compile: make warnings fatal
1 parent 4d4c7a1 commit eae0f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ELCHECKS=$(addprefix check-, $(ELFILES:.el=))
3434

3535
%.elc: %.el
3636
@$(BATCH) \
37-
-f batch-byte-compile $<
37+
--eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile $<
3838

3939
.PHONY: all compile info clean check $(ELCHECKS) elpa package
4040

0 commit comments

Comments
 (0)