diff --git a/core/autoload/modules.el b/core/autoload/modules.el index e10e79ec7..f3d1fe5a5 100644 --- a/core/autoload/modules.el +++ b/core/autoload/modules.el @@ -119,6 +119,8 @@ modified." (push file targets))))) (if (and (not force-p) (file-exists-p doom-autoload-file) + (not (file-newer-than-file-p (expand-file-name "init.el" doom-private-dir) + doom-autoload-file)) (not (cl-loop for file in targets if (file-newer-than-file-p file doom-autoload-file) return t)))