aboutsummaryrefslogtreecommitdiff
path: root/emms-playing-time.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-01-04 08:13:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-01-04 08:13:00 +0000
commit4bc3739cc8fa888a9708285f50196f2f574b0201 (patch)
tree598032401ba54d5754776839da818523892640e8 /emms-playing-time.el
parentb64ef4cef7b58b20a952d78638125efd21a185ac (diff)
Make emms-player-mpd work with emms-playing-time.
darcs-hash:20060104081359-1bfb2-a0a8fad9d64ef84432c8698285f9c8293425152d.gz
Diffstat (limited to 'emms-playing-time.el')
-rw-r--r--emms-playing-time.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index ad2da90..ca39b08 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -74,7 +74,8 @@ should enable `emms-playing-time-display-p' first, though."
(defun emms-playing-time-start ()
"Get ready for display playing time."
(setq emms-playing-time 0)
- (run-at-time t 1 'emms-playing-time-display))
+ (setq emms-playing-time-display-timer
+ (run-at-time t 1 'emms-playing-time-display)))
(defun emms-playing-time-stop ()
"Remove playing time on the mode line."