mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #4758: wrong-type-arg listp on doom-store-persist
This commit is contained in:
@ -104,7 +104,8 @@ the actual variables themselves or their values."
|
||||
If it doesn't exist or has expired, DEFAULT_VALUE is returned."
|
||||
(let ((location (or location doom-store-location))
|
||||
(data (gethash key (doom--store-init location) default-value)))
|
||||
(if (not (doom--store-expired-p key data))
|
||||
(if (not (or (eq data default-value)
|
||||
(doom--store-expired-p key data)))
|
||||
(cdr data)
|
||||
(doom-store-rem key location noflush)
|
||||
default-value)))
|
||||
|
Reference in New Issue
Block a user