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)

View file

@ -201,7 +201,7 @@ users).")
(setq abbrev-file-name (concat doom-local-dir "abbrev.el")
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
bookmark-default-file (concat doom-etc-dir "bookmarks")
custom-file (concat doom-private-dir "init.el")
custom-file (concat doom-local-dir "custom.el")
custom-theme-directory (concat doom-private-dir "themes/")
desktop-dirname (concat doom-etc-dir "desktop")
desktop-base-file-name "autosave"