fix(cli): create doom directories early
This is a regression from948f946
, where a bunch of mkdir calls were removed prematurely. In v3, other processes are responsible for creating these directories, but those haven't been implemented yet. Fix: #6756 Amend:948f9461a7
This commit is contained in:
parent
ceae154751
commit
a0fc7bad5a
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
|||
(setq gc-cons-threshold 134217728 ; 128mb
|
||||
gc-cons-percentage 1.0) ; DEPRECATED: backported from 29
|
||||
|
||||
;; Create all our core directories to quell file errors.
|
||||
(mapc (doom-rpartial #'make-directory 'parents)
|
||||
(list doom-local-dir
|
||||
doom-data-dir
|
||||
doom-cache-dir))
|
||||
|
||||
;; UX: Ensure errors are sufficiently verbose from this point on.
|
||||
(when (setq init-file-debug (getenv-internal "DEBUG"))
|
||||
(setq debug-on-error t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue