                    (not (locate-library (symbol-name name)))))
     `(use-package ,name ,@plist)))
 
-(define-obsolete-function-alias 'def-package-hook! 'use-package-hook!) ; DEPRECATED
 (defmacro use-package-hook! (package when &rest body)
   "Reconfigures a package's `use-package!' block.
 

               (setq body `((after! ,next ,@body))))
             (car body))))))

(provide 'core-modules)
;;; core-modules.el ends here

       doom-modules)))

(defvar doom-disabled-packages)
(defmacro use-package! (name &rest plist)
  "Declares and configures a package.

