 
 (defvar doom--current-module nil)
 (defvar doom--refreshed-p nil)
-(defvar doom--stage nil)
+(defvar doom--stage 'init)
 
 ;;
 (setq autoload-compute-prefixes nil

        (if (file-directory-p module-path)
            `(condition-case-unless-debug ex
                 (let ((doom--current-module ',(cons module submodule)))
                   (load! init   ,module-path :noerror)
                   (load! config ,module-path :noerror))
               ('error
                (lwarn 'doom-modules :error
                       "%s in '%s %s' -> %s"

                           config-forms))))))))
    `(let (file-name-handler-alist)
       (setq doom-modules ',doom-modules)
       ,@(nreverse init-forms)
       (unless noninteractive
         (run-hooks 'doom-internal-init-hook)
         (let ((doom--stage 'config))
