mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add private module to load-path
This fixes autoload cookies in private autoload files (e.g. ~/.doom.d/autoload/file.el).
This commit is contained in:
@ -175,7 +175,8 @@ it anyway."
|
||||
load-path (append doom-package-load-path
|
||||
doom-site-load-path
|
||||
(list doom-core-dir)
|
||||
doom-modules-dirs))))
|
||||
doom-modules-dirs
|
||||
doom-psuedo-module-dirs))))
|
||||
|
||||
(defun doom-initialize-autoloads ()
|
||||
"Ensures that `doom-autoload-file' exists and is loaded. Otherwise run
|
||||
|
@ -11,6 +11,7 @@ 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)
|
||||
|
Reference in New Issue
Block a user