Don't complain if no private packages.el
This commit is contained in:
parent
3b1f7c02cc
commit
a0bec84997
1 changed files with 2 additions and 2 deletions
|
@ -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))))))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue