diff options
| author | Michael Olson <mwolson@gnu.org> | 2006-06-06 14:44:00 +0000 | 
|---|---|---|
| committer | Michael Olson <mwolson@gnu.org> | 2006-06-06 14:44:00 +0000 | 
| commit | afc461ef8513d1d5573cb5f71034203cb377cc1a (patch) | |
| tree | 57459917c30c5dd2b1c22ae3ace8d619dba8b114 | |
| parent | 239ad706c23e7ffc88914a8650a2f87bfc3944d5 (diff) | |
emms-info: Fix bug that occurs after clearing the current playlist and trying to re-add songs to it.
darcs-hash:20060606144439-1bfb2-34f362137ee2006e12ebfe26e7f3842c31f5ef0d.gz
| -rw-r--r-- | emms-info.el | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-info.el b/emms-info.el index ab48b45..c4533bd 100644 --- a/emms-info.el +++ b/emms-info.el @@ -122,8 +122,9 @@ Return t when the track got changed."      (when (or (not cached-track)                (and cached-track                 emms-info-auto-update -               (emms-time-less-p -                (emms-track-get track 'info-mtime) file-mtime))) +               (let ((info-mtime (emms-track-get track 'info-mtime))) +                 (or (not (consp info-mtime)) +                     (emms-time-less-p info-mtime file-mtime)))))        (setq updated t)        (run-hook-with-args 'emms-info-functions track))  | 
