Allow debugger to handle byte-compile errors
This commit is contained in:
parent
6e3afb0249
commit
c9ac30889c
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(if recompile-p "Recompiled" "Compiled")
|
(if recompile-p "Recompiled" "Compiled")
|
||||||
total-ok (- (length target-files) total-noop)
|
total-ok (- (length target-files) total-noop)
|
||||||
total-noop))))
|
total-noop))))
|
||||||
(error
|
((debug error)
|
||||||
(print! (red "\n%s\n\n%%s" "There were breaking errors.")
|
(print! (red "\n%s\n\n%%s" "There were breaking errors.")
|
||||||
"Reverting changes...")
|
"Reverting changes...")
|
||||||
(signal 'doom-error (list 'byte-compile e))))))))
|
(signal 'doom-error (list 'byte-compile e))))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue