mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
Fix void-function doom*initialize-packages error
Occurs before autoloads are generated.
This commit is contained in:
@@ -511,8 +511,3 @@ calls."
|
|||||||
(when (file-exists-p path)
|
(when (file-exists-p path)
|
||||||
(delete-directory path t))))))
|
(delete-directory path t))))))
|
||||||
|
|
||||||
;;;###autoload
|
|
||||||
(defun doom*initialize-packages (&rest _)
|
|
||||||
"TODO"
|
|
||||||
(unless doom-init-p
|
|
||||||
(doom-initialize-packages)))
|
|
||||||
|
@@ -845,6 +845,9 @@ compiled packages.'"
|
|||||||
;; Make package.el cooperate with Doom
|
;; Make package.el cooperate with Doom
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
(defun doom*initialize-packages (&rest _)
|
||||||
|
(unless doom-init-p (doom-initialize-packages)))
|
||||||
|
|
||||||
(advice-add #'package-install :before #'doom*initialize-packages)
|
(advice-add #'package-install :before #'doom*initialize-packages)
|
||||||
(advice-add #'package-reinstall :before #'doom*initialize-packages)
|
(advice-add #'package-reinstall :before #'doom*initialize-packages)
|
||||||
(advice-add #'package-delete :before #'doom*initialize-packages)
|
(advice-add #'package-delete :before #'doom*initialize-packages)
|
||||||
|
Reference in New Issue
Block a user