Only add doom-private-dir to load-path during autoload generation, otherwise a $DOOMDIR/autoload.el will shadow the built-in autoload.el Emacs package. Note: with `doom-private-dir' in `load-path', Doom autoloads files will be unable to declare autoloads for the built-in autoload.el Emacs package, should $DOOMDIR/autoload.el exist. Not sure why they'd want to though, so it's an acceptable compromise for simpler autoload declarations. |
||
---|---|---|
.. | ||
autoloads.el | ||
byte-compile.el | ||
debug.el | ||
packages.el | ||
patch-macos.el | ||
quickstart.el | ||
test.el | ||
upgrade.el |