            collect path))
 
 (defun doom--display-benchmark ()
-  (message "Loaded %s packages in %.03fs"
+  (message "Doom loaded %s packages across %d modules in %.03fs"
            ;; Certainly imprecise, especially where custom additions to
            ;; load-path are concerned, but I don't mind a [small] margin of
            ;; error in the plugin count in exchange for faster startup.
            (- (length load-path) (length doom--base-load-path))
+           (hash-table-size doom-modules)
            (setq doom-init-time (float-time (time-subtract after-init-time before-init-time)))))
 
 

         (unless (server-running-p)
           (server-start)))

       (add-hook 'doom-init-hook #'doom--display-benchmark t))))

(defmacro def-package! (name &rest plist)
  "A thin wrapper around `use-package'.

    (load "quelpa" nil t)
    (load "use-package" nil t)

    (setq doom-package-init-p t)

    (unless noninteractive
      (message "Doom initialized"))))

(defun doom-initialize-autoloads ()
  "Ensures that `doom-autoload-file' exists and is loaded. Otherwise run
