Move custom-file to {doom-local-dir}/custom.el

This commit is contained in:
Henrik Lissner 2020-01-04 17:10:15 -05:00
parent a2eee97c9d
commit ae5cf1889b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 1 deletions

View file

@ -76,6 +76,7 @@ non-nil."
(when (or force-p (not doom-init-modules-p))
(setq doom-init-modules-p t
doom-modules nil)
(load custom-file 'noerror 'nomessage)
(when (load! "init" doom-private-dir t)
(when doom-modules
(maphash (lambda (key plist)