From d667a2a2929c758193286c5888ff499ca2c4a31e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 11 Mar 2021 17:55:29 -0500 Subject: [PATCH] Fix expiration of doom-store entries --- core/autoload/store.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoload/store.el b/core/autoload/store.el index e59e32b4a..651fb178e 100644 --- a/core/autoload/store.el +++ b/core/autoload/store.el @@ -85,7 +85,7 @@ the actual variables themselves or their values." (let ((ttl (car data))) (cond ((functionp ttl) (not (funcall ttl key data))) - ((integerp ttl) + ((consp ttl) (time-less-p ttl (current-time)))))) (defun doom--store-flush (location)