         (doom-initialize-packages t t)
         (setq compile-targets
               (cl-loop for target
-                       in (or modules (append (list doom-core-dir) (doom--module-paths)))
+                       in (or modules (append (list doom-core-dir) (doom-module-paths)))
                        if (equal target "core")
                         nconc (nreverse (directory-files-recursively doom-core-dir "\\.el$"))
                        else if (file-directory-p target)

    (cons (intern (concat ":" (match-string 1 path)))
          (intern (match-string 2 path)))))

(defun doom-module-flags (module submodule)
  "Returns a list of flags provided for MODULE SUBMODULE."
  (and (hash-table-p doom-modules)

    (error "doom-modules is uninitialized"))
  (cl-loop for key being the hash-keys of doom-modules
           collect key))

(defun doom--display-benchmark ()
  (message "Doom loaded %s packages across %d modules in %.03fs"
