emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp ab8fed0 2/2: * Do not produce .eln files when a byte


From: Andrea Corallo
Subject: feature/native-comp ab8fed0 2/2: * Do not produce .eln files when a byte compilation error happen
Date: Fri, 13 Mar 2020 04:23:53 -0400 (EDT)

branch: feature/native-comp
commit ab8fed0a96a55107895e6105e7b0e4b6735156d7
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * Do not produce .eln files when a byte compilation error happen
    
    Have the byte compiler signal an error when compilation fails to stop
    native compilation too.
---
 lisp/emacs-lisp/comp.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 808a705..64eb46c 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2118,6 +2118,9 @@ Return the compilation unit file name."
           (list "not a symbol function or file" input)))
   (let ((data input)
         (comp-native-compiling t)
+        ;; Have the byte compiler signal an error when compilation
+        ;; fails.
+        (byte-compile-debug t)
         (comp-ctxt (make-comp-ctxt
                     :output
                     (if (symbolp input)



reply via email to

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