mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't complain if no private packages.el
This commit is contained in:
@ -340,11 +340,11 @@ them."
|
|||||||
;; We load the private packages file twice to ensure disabled
|
;; We load the private packages file twice to ensure disabled
|
||||||
;; packages are seen ASAP, and a second time to ensure privately
|
;; packages are seen ASAP, and a second time to ensure privately
|
||||||
;; overridden packages are properly overwritten.
|
;; overridden packages are properly overwritten.
|
||||||
(_load (expand-file-name "packages.el" doom-private-dir))
|
(_load (expand-file-name "packages.el" doom-private-dir) t)
|
||||||
(cl-loop for key being the hash-keys of doom-modules
|
(cl-loop for key being the hash-keys of doom-modules
|
||||||
for path = (doom-module-path (car key) (cdr key) "packages.el")
|
for path = (doom-module-path (car key) (cdr key) "packages.el")
|
||||||
do (let ((doom--current-module key)) (_load path t)))
|
do (let ((doom--current-module key)) (_load path t)))
|
||||||
(_load (expand-file-name "packages.el" doom-private-dir)))))))))
|
(_load (expand-file-name "packages.el" doom-private-dir) t))))))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user