Move custom-file to DOOMDIR/init.el
(And don't auto-load it at startup; no need)
This commit is contained in:
parent
b5c5b7f10d
commit
b245237b0c
2 changed files with 2 additions and 5 deletions
|
@ -96,11 +96,7 @@ non-nil."
|
|||
(load! "config" (plist-get plist :path) t)))
|
||||
doom-modules)
|
||||
(run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook)
|
||||
(load! "config" doom-private-dir t)
|
||||
(unless custom-file
|
||||
(setq custom-file (concat doom-local-dir "custom.el")))
|
||||
(when (stringp custom-file)
|
||||
(load custom-file t t t)))))
|
||||
(load! "config" doom-private-dir t))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
@ -201,6 +201,7 @@ Doom was setup, which may cause problems.")
|
|||
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
|
||||
auto-save-list-file-name (concat doom-cache-dir "autosave")
|
||||
backup-directory-alist (list (cons "." (concat doom-cache-dir "backup/")))
|
||||
custom-file (concat doom-private-dir "init.el")
|
||||
desktop-dirname (concat doom-etc-dir "desktop")
|
||||
desktop-base-file-name "autosave"
|
||||
desktop-base-lock-name "autosave-lock"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue