aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-info.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emms-info.el b/emms-info.el
index ea427d6..f0e7bd5 100644
--- a/emms-info.el
+++ b/emms-info.el
@@ -71,8 +71,8 @@ Return t when the track got changed."
(emms-info-track-file-mtime track))))
(when (or (not track-mtime)
(when emms-info-auto-update
- (<= track-mtime
- file-mtime)))
+ (time-less-p track-mtime
+ file-mtime)))
(run-hook-with-args 'emms-info-functions
track)
(emms-track-set track 'info-mtime file-mtime)