emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pacmacs 95c046205a 187/472: Compilation warnings as errors


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 95c046205a 187/472: Compilation warnings as errors (#123)
Date: Thu, 6 Jan 2022 21:59:23 -0500 (EST)

branch: elpa/pacmacs
commit 95c046205af5ed7df6a66c42dcf746b625442a3d
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]