aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Elmes <emms@repose.cx>2006-06-25 11:01:00 +0000
committerDamien Elmes <emms@repose.cx>2006-06-25 11:01:00 +0000
commit8f9c1dcdff81825ce5af9f84359b70061769f284 (patch)
tree6c8f2ebcec353a866f276b5aa9c5df50a6710475
parentbd115b86296fa6f88b7f945a308cbb89027c68b3 (diff)
cache: readability fix
darcs-hash:20060625110138-4e3e3-796352e4a7992026d4d073755b8d9c7aa53b26fc.gz
-rw-r--r--emms-cache.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-cache.el b/emms-cache.el
index 1fc8a48..502a1c6 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -150,7 +150,8 @@ been modified."
info-mtime file-mtime))
(run-hook-with-args 'emms-info-functions track))))))
emms-cache-db)
- (setq emms-cache-dirty (or emms-cache-dirty removed)))
+ (when removed
+ (setq emms-cache-dirty t))
(message "Syncing emms track cache...done"))
(provide 'emms-cache)