Fix expiration of doom-store entries

This commit is contained in:
Henrik Lissner 2021-03-11 17:55:29 -05:00
parent ce22f75a57
commit d667a2a292

View file

@ -85,7 +85,7 @@ the actual variables themselves or their values."
(let ((ttl (car data))) (let ((ttl (car data)))
(cond ((functionp ttl) (cond ((functionp ttl)
(not (funcall ttl key data))) (not (funcall ttl key data)))
((integerp ttl) ((consp ttl)
(time-less-p ttl (current-time)))))) (time-less-p ttl (current-time))))))
(defun doom--store-flush (location) (defun doom--store-flush (location)