aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam.xwl <william.xwl>2006-01-18 13:14:00 +0000
committerwilliam.xwl <mwolson@gnu.org>2006-01-18 13:14:00 +0000
commit69a77df5a61a42a460d10ae60c1d41616940eed1 (patch)
tree827c41483d34114205c70551cda5e5f8a0c29a35
parent1de710aba20ad287c7e39d9b0b3804b339e6823a (diff)
Pass correct parameter to `run-at-time', to make sure only one timer is
running. darcs-hash:20060118131412-e8fe6-d423f6a7aa50b929403fc333984280e137b6b8fe.gz
-rw-r--r--emms-playing-time.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index 3604ce4..a7ddf24 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -76,7 +76,7 @@ should enable `emms-playing-time-display-p' first, though."
(setq emms-playing-time 0)
(unless emms-playing-time-display-timer
(setq emms-playing-time-display-timer
- (run-at-time t 1 'emms-playing-time-display))))
+ (run-at-time nil 1 'emms-playing-time-display))))
(defun emms-playing-time-stop ()
"Remove playing time on the mode line."
@@ -94,7 +94,7 @@ should enable `emms-playing-time-display-p' first, though."
(emms-playing-time-stop)
(unless emms-playing-time-display-timer
(setq emms-playing-time-display-timer
- (run-at-time t 1 'emms-playing-time-display)))))
+ (run-at-time nil 1 'emms-playing-time-display)))))
(defun emms-playing-time-seek (sec)
"Seek forward or backward SEC playing time."