mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
I change `user-emacs-directory' because most (if not all) packages -- even built-in ones -- abuse it exclusively to build paths for storage/cache files (instead of correctly using `locate-user-emacs-file'). This ensures your $EMACSDIR isn't littered with data files *and* saves us the trouble of setting every directory/file variable under the sun. Granted, this introduces an edge case for any legitimate uses of the variable (e.g. where the caller seeks to locate the user's initfiles), but I've found no such uses in any of the packages I've audited for Doom or elsewhere.