aboutsummaryrefslogtreecommitdiff
path: root/emms-cache.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-cache.el')
-rw-r--r--emms-cache.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-cache.el b/emms-cache.el
index 3e0d056..35b851c 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -163,7 +163,7 @@ regardless of whether they have been modified or not."
(interactive "P")
(let (removed)
(maphash (lambda (path track)
- (when (eq (emms-track-get track 'type) 'file)
+ (when (emms-track-file-p track)
;; if no longer here, remove
(if (not (file-exists-p path))
(progn