mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user