mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Revert 142d364
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.
This commit is contained in:
@ -466,8 +466,6 @@ in interactive sessions, nil otherwise (but logs a warning)."
|
||||
(unless noninteractive
|
||||
(doom-initialize-modules))
|
||||
|
||||
(add-to-list 'load-path doom-private-dir)
|
||||
|
||||
(after! package
|
||||
(require 'core-packages))
|
||||
|
||||
|
Reference in New Issue
Block a user