Remove package-initialize hack before package commands
Doesn't appear to be necessary anymore.
This commit is contained in:
parent
644dc17e32
commit
dc7488df73
1 changed files with 0 additions and 9 deletions
|
@ -803,15 +803,6 @@ loads MODULE SUBMODULE's packages.el file."
|
||||||
;; Make package.el cooperate with Doom
|
;; Make package.el cooperate with Doom
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(defun doom*initialize-packages (&rest _)
|
|
||||||
(unless package--initialized
|
|
||||||
(package-initialize)))
|
|
||||||
|
|
||||||
(advice-add #'package-delete :before #'doom*initialize-packages)
|
|
||||||
(advice-add #'package-install :before #'doom*initialize-packages)
|
|
||||||
(advice-add #'package-refresh-contents :before #'doom*initialize-packages)
|
|
||||||
(advice-add #'package-reinstall :before #'doom*initialize-packages)
|
|
||||||
|
|
||||||
;; Updates QUELPA after deleting a package
|
;; Updates QUELPA after deleting a package
|
||||||
(advice-add #'package-delete :after #'doom*package-delete)
|
(advice-add #'package-delete :after #'doom*package-delete)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue