diff --git a/core/core.el b/core/core.el index aae87b567..4d26d2944 100644 --- a/core/core.el +++ b/core/core.el @@ -208,9 +208,11 @@ users).") shared-game-score-directory (concat doom-etc-dir "shared-game-score/")) (defadvice! doom--write-to-sane-paths-a (fn &rest args) - "When enabling a disabled command, the `put' call is written to -~/.emacs.d/init.el, which causes issues for Doom, so write it to the user's -config.el instead." + "Write 3rd party files to `doom-etc-dir' to keep `user-emacs-directory' clean. + +Also writes `put' calls for saved safe-local-variables to `custom-file' instead +of `user-init-file' (which `en/disable-command' in novice.el.gz is hardcoded to +do)." :around #'en/disable-command :around #'locate-user-emacs-file (let ((user-emacs-directory doom-etc-dir)