fix(details): correct error

This commit is contained in:
contrapunctus 2021-06-28 07:50:19 +05:30
parent cc77b18797
commit a04ca1fd28
2 changed files with 2 additions and 2 deletions

View File

@ -2189,7 +2189,7 @@ FILTER must be a filter specifier as described by
`chronometrist-details-filter'."
(cond ((null filter) plist)
((seq-every-p #'keywordp filter)
(when (--map (plist-get plist keyword) filter)
(when (--every-p (plist-get plist it) filter)
plist))
((chronometrist-plist-p filter)
(when (cl-loop for (keyword value) on filter by #'cddr

View File

@ -3450,7 +3450,7 @@ FILTER must be a filter specifier as described by
`chronometrist-details-filter'."
(cond ((null filter) plist)
((seq-every-p #'keywordp filter)
(when (--map (plist-get plist keyword) filter)
(when (--every-p (plist-get plist it) filter)
plist))
((chronometrist-plist-p filter)
(when (cl-loop for (keyword value) on filter by #'cddr