bin/doom: move debugger config to core-cli

And remove unnecessary path expansion.
This commit is contained in:
Henrik Lissner 2020-08-25 05:07:24 -04:00
parent 93ac32d082
commit c0500df5fb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 10 deletions

View file

@ -548,6 +548,15 @@ best to run Doom out of ~/.emacs.d and ~/.doom.d."
(doom-log "Initializing Doom CLI")
;; Use our own home-grown debugger to display and log errors + backtraces.
;; Control over its formatting is important, because Emacs produces
;; difficult-to-read debug information otherwise. By making its errors more
;; presentable (and storing them somewhere users can access them later) we go a
;; long way toward making it easier for users to write better bug reports.
(setq debugger #'doom-cli--debugger
debug-on-error t
debug-ignored-errors nil)
;; Clean slate for the next invocation
(delete-file doom-cli-log-file)
(delete-file doom-cli-log-error-file)