Check doom-packages-dir mtime
Now that package management commands update its mtime manually, this is the most reliable method of detecting package changes.
This commit is contained in:
parent
faf09288ce
commit
0a20159eee
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ This should be run whenever your `doom!' block or update your packages."
|
|||
(if (and (not force-p)
|
||||
(not doom-emacs-changed-p)
|
||||
(file-exists-p doom-package-autoload-file)
|
||||
(not (file-newer-than-file-p package-user-dir doom-package-autoload-file))
|
||||
(not (file-newer-than-file-p doom-packages-dir doom-package-autoload-file))
|
||||
(not (ignore-errors
|
||||
(cl-loop for key being the hash-keys of (doom-modules)
|
||||
for path = (doom-module-path (car key) (cdr key) "packages.el")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue