Revert "org-persist-gc: GC collections without persist file"
`org-persist-gc' is ran before `org-persist-write-all' and we may not
yet have all the persist files written. Absence of a persist files is
thus not a sign that collection is expired.
This reverts commit e11073d17d
.
This commit is contained in:
parent
080710797a
commit
8944124edf
|
@ -1210,8 +1210,7 @@ Also, remove containers associated with non-existing files."
|
|||
(setq expired? t)))
|
||||
(if expired?
|
||||
(org-persist--gc-persist-file persist-file)
|
||||
(when (file-exists-p persist-file)
|
||||
(push collection new-index))
|
||||
(push collection new-index)
|
||||
(dolist (container (plist-get collection :container))
|
||||
(dolist (associated-file
|
||||
(org-persist-associated-files:generic
|
||||
|
|
Loading…
Reference in New Issue