* 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.
This commit is contained in:
Andrea Corallo 2020-03-12 22:36:39 +00:00
parent d0a504f5c4
commit ab8fed0a96

View 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)