Force autoloads to use absolute paths
Autoload paths used to be relative to arbitrary roots (usually doom-modules-dir). This commit changes doom//reload-autoloads to iterate over autoloads in doom-autoloads-file and replace their file paths with an absolute one. Theoretically this should make Emacs feel marginally faster, but we *probably* get more of a benefit from a shorter load-path (because we no longer need doom-modules-dirs, doom-core-dir or doom-psuedo-module-paths in the load-path). This is highly experimental however!
This commit is contained in:
parent
1a20c49ef3
commit
a967aa051a
2 changed files with 29 additions and 15 deletions
|
@ -12,7 +12,6 @@ Doom Emacs.")
|
|||
;; `doom-initialize-packages' will treat `+private-config-path' as the root of
|
||||
;; this module.
|
||||
(add-to-list 'doom-psuedo-module-dirs +private-config-path)
|
||||
(add-to-list 'load-path +private-config-path)
|
||||
|
||||
;;
|
||||
(load (expand-file-name "init.el" +private-config-path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue