branch: elpa/pacmacs
commit 95c046205af5ed7df6a66c42dcf746b625442a3d
Author: rexim <[email protected]>
Commit: rexim <[email protected]>
Compilation warnings as errors (#123)
Finally I found that option! :)
---
tools/compile.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/compile.el b/tools/compile.el
index 617639441c..62520fa090 100755
--- a/tools/compile.el
+++ b/tools/compile.el
@@ -5,7 +5,8 @@
(require 'dash-functional)
(require 'f)
(require 'bytecomp)
- (let ((load-path (cons (cask-path bundle) (cask-load-path bundle))))
+ (let* ((byte-compile-error-on-warn t)
+ (load-path (cons (cask-path bundle) (cask-load-path bundle))))
(when (->> (cask-files bundle)
(-filter (-lambda (path)
(and (f-file? path)