Improve how reload-doom-autoloads detects your modules have changed
This commit is contained in:
parent
debdb63100
commit
06bd3dfccc
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ modified."
|
||||||
(push file targets)))))
|
(push file targets)))))
|
||||||
(if (and (not force-p)
|
(if (and (not force-p)
|
||||||
(file-exists-p doom-autoload-file)
|
(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
|
(not (cl-loop for file in targets
|
||||||
if (file-newer-than-file-p file doom-autoload-file)
|
if (file-newer-than-file-p file doom-autoload-file)
|
||||||
return t)))
|
return t)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue