diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-03-12 22:36:39 +0000 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-03-13 08:22:29 +0000 |
commit | ab8fed0a96a55107895e6105e7b0e4b6735156d7 (patch) | |
tree | d751c57ef1ce06d4068bf3ff92075291cd531b21 /lisp | |
parent | d0a504f5c41be7136cec7fbab9829f80d6583fcf (diff) | |
download | emacs-ab8fed0a96a55107895e6105e7b0e4b6735156d7.tar.gz emacs-ab8fed0a96a55107895e6105e7b0e4b6735156d7.tar.bz2 emacs-ab8fed0a96a55107895e6105e7b0e4b6735156d7.zip |
* 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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 3 |
1 files changed, 3 insertions, 0 deletions
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) |