Improve how reload-doom-autoloads detects your modules have changed

This commit is contained in:
Henrik Lissner
2018-05-25 18:25:43 +02:00
parent debdb63100
commit 06bd3dfccc

View File

@ -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)))