custom-file = ~/.doom.d/config.el

custom-file is now set to your private config.el, because users may want
to be able to see what Customize is storing (and where) front and
center. Storing it away in ~/.emacs.d/.local makes it harder to notice.

Also, have enable-command (and disable-command) save their data to
custom-file instead of ~/.emacs.d (see #3379).

Fixes #3379
This commit is contained in:
Henrik Lissner 2020-06-13 16:09:26 -04:00
parent 0f3bd57101
commit 1d709e30be
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 3 deletions

View file

@ -119,8 +119,7 @@ non-nil."
(unless no-config-p
(maphash (doom-module-loader doom-module-config-file) doom-modules)
(run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook)
(load! "config" doom-private-dir t)
(load custom-file 'noerror (not doom-debug-mode))))))
(load! "config" doom-private-dir t)))))
;;