Improve general error handling at startup
This will hopefully reveal more information as to the cause and origin of errors at startup. It should also make doom-debug-mode more likely to produce a backtrace in non-interactive sessions.
This commit is contained in:
parent
c8aba6f552
commit
ab07e07352
6 changed files with 87 additions and 68 deletions
|
@ -724,7 +724,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||
;; Ensure ansi codes in compilation buffers are replaced
|
||||
(add-hook 'compilation-filter-hook #'doom|compilation-ansi-color-apply)
|
||||
;;
|
||||
(run-hooks 'doom-init-ui-hook))
|
||||
(run-hook-wrapped 'doom-init-ui-hook #'doom-try-run-hook))
|
||||
|
||||
(add-hook 'doom-post-init-hook #'doom|init-ui)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue