mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 20:37:51 +00:00
org-persist: Fix expiry check
* lisp/org-persist.el (org-persist--gc-expired-p): Fix incorrect plist key.
This commit is contained in:
parent
41b7410a8c
commit
9b00f4bf1d
|
@ -344,8 +344,8 @@ FORMAT and ARGS are passed to `message'."
|
|||
(`nil t)
|
||||
(`never nil)
|
||||
((pred numberp)
|
||||
(when (plist-get ,collection :access-time)
|
||||
(<= (float-time) (+ (plist-get ,collection :access-time) (* ,cnd 24 60 60)))))
|
||||
(when (plist-get ,collection :last-access)
|
||||
(<= (float-time) (+ (plist-get ,collection :last-access) (* ,cnd 24 60 60)))))
|
||||
((pred functionp)
|
||||
(funcall ,cnd ,collection))
|
||||
(_ (error "org-persist: Unsupported expiry type %S" ,cnd))))
|
||||
|
|
Loading…
Reference in a new issue