Move custom-file to {doom-local-dir}/custom.el
This commit is contained in:
parent
a2eee97c9d
commit
ae5cf1889b
2 changed files with 2 additions and 1 deletions
|
@ -76,6 +76,7 @@ non-nil."
|
||||||
(when (or force-p (not doom-init-modules-p))
|
(when (or force-p (not doom-init-modules-p))
|
||||||
(setq doom-init-modules-p t
|
(setq doom-init-modules-p t
|
||||||
doom-modules nil)
|
doom-modules nil)
|
||||||
|
(load custom-file 'noerror 'nomessage)
|
||||||
(when (load! "init" doom-private-dir t)
|
(when (load! "init" doom-private-dir t)
|
||||||
(when doom-modules
|
(when doom-modules
|
||||||
(maphash (lambda (key plist)
|
(maphash (lambda (key plist)
|
||||||
|
|
|
@ -201,7 +201,7 @@ users).")
|
||||||
(setq abbrev-file-name (concat doom-local-dir "abbrev.el")
|
(setq abbrev-file-name (concat doom-local-dir "abbrev.el")
|
||||||
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
|
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
|
||||||
bookmark-default-file (concat doom-etc-dir "bookmarks")
|
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/")
|
custom-theme-directory (concat doom-private-dir "themes/")
|
||||||
desktop-dirname (concat doom-etc-dir "desktop")
|
desktop-dirname (concat doom-etc-dir "desktop")
|
||||||
desktop-base-file-name "autosave"
|
desktop-base-file-name "autosave"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue