From: Andrea Corallo Date: Thu, 12 Mar 2020 22:36:39 +0000 (+0000) Subject: * Do not produce .eln files when a byte compilation error happen X-Git-Tag: emacs-28.0.90~2727^2~777 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab8fed0a96a55107895e6105e7b0e4b6735156d7;p=emacs.git * 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. --- diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 808a705a5cb..64eb46cc38d 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)