Minor, general refactors to package API
This commit is contained in:
parent
6fcaa80355
commit
1a72cf0677
2 changed files with 14 additions and 19 deletions
|
@ -146,7 +146,8 @@ necessary package metadata is initialized and available for them."
|
|||
(when noninteractive
|
||||
(add-hook 'kill-emacs-hook #'doom--finalize-straight))
|
||||
(dolist (package (straight--directory-files (straight--build-dir)))
|
||||
(add-to-list 'load-path (directory-file-name (straight--build-dir package)))))
|
||||
(cl-pushnew (directory-file-name (straight--build-dir package))
|
||||
load-path)))
|
||||
(when (or force-p (not doom-packages))
|
||||
(doom-log "Initializing doom-packages")
|
||||
(setq doom-disabled-packages nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue