aboutsummaryrefslogtreecommitdiff
path: root/emms-info.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-06-10 23:04:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-06-10 23:04:00 +0000
commit3540a17fdd5792376cdb78695280a15ee189eec5 (patch)
tree03eee86f0387d7e2130dc239c9a556f698165229 /emms-info.el
parentf07ea4645d724d38c68a3f03d00439d9f7d1f96e (diff)
emms-info: Never return 0 for info-mtime, since emms-time-less-p does not like this. Use nil instead.
darcs-hash:20060610230409-1bfb2-fa73c67de417d1643dfb3b99cd7cf16b861ff8ab.gz
Diffstat (limited to 'emms-info.el')
-rw-r--r--emms-info.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emms-info.el b/emms-info.el
index 2b74f15..03a3c81 100644
--- a/emms-info.el
+++ b/emms-info.el
@@ -102,11 +102,11 @@ Return t when the track got changed."
(defun emms-info-track-file-mtime (track)
"Return the mtime of the file of TRACK, if any.
-Return zero otherwise."
+Return nil otherwise."
(if (eq (emms-track-type track)
'file)
(nth 5 (file-attributes (emms-track-name track)))
- 0))
+ nil))
(defun emms-info-track-description (track)
"Return a description of the current track."