nit: update doom--write-to-sane-paths-a docstring

To properly reflect what it actually does, not what a long-since-changed
implementation did.
This commit is contained in:
Henrik Lissner 2021-10-23 23:44:54 +02:00
parent 251d2a6f7c
commit 481646ca18

View file

@ -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)