9 lines
251 B
EmacsLisp
9 lines
251 B
EmacsLisp
|
;; bail out on compilation warnings and errors
|
||
|
(setq byte-compile-error-on-warn t)
|
||
|
(setq byte-compile--use-old-handlers nil)
|
||
|
|
||
|
;; compile *.el files
|
||
|
(dolist (file (file-expand-wildcards "*.el"))
|
||
|
(unless (byte-compile-file file)
|
||
|
(kill-emacs 1)))
|