Move custom-file to DOOMDIR/init.el

(And don't auto-load it at startup; no need)
This commit is contained in:
Henrik Lissner
2019-06-25 11:55:35 +02:00
parent b5c5b7f10d
commit b245237b0c
2 changed files with 2 additions and 5 deletions

View File

@@ -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))))
;;