From c9ac30889c9a3e0249432f2a156fe1f228ccab1d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 24 Jun 2018 14:48:27 +0200 Subject: [PATCH] Allow debugger to handle byte-compile errors --- core/core-cli.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-cli.el b/core/core-cli.el index d1d59dbe2..0321c6687 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -796,7 +796,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files." (if recompile-p "Recompiled" "Compiled") total-ok (- (length target-files) total-noop) total-noop)))) - (error + ((debug error) (print! (red "\n%s\n\n%%s" "There were breaking errors.") "Reverting changes...") (signal 'doom-error (list 'byte-compile e))))))))