mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Allow debugger to handle byte-compile errors
This commit is contained in:
@ -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))))))))
|
||||||
|
Reference in New Issue
Block a user