]> git.eshelyaron.com Git - emacs.git/commitdiff
* Do not produce .eln files when a byte compilation error happen
authorAndrea Corallo <akrl@sdf.org>
Thu, 12 Mar 2020 22:36:39 +0000 (22:36 +0000)
committerAndrea Corallo <akrl@sdf.org>
Fri, 13 Mar 2020 08:22:29 +0000 (08:22 +0000)
Have the byte compiler signal an error when compilation fails to stop
native compilation too.

lisp/emacs-lisp/comp.el

index 808a705a5cb448c9b16f5c3683efb346d05ab90d..64eb46cc38d985bb1b184a5d52ed397d3ba4fe07 100644 (file)
@@ -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)