From 69a77df5a61a42a460d10ae60c1d41616940eed1 Mon Sep 17 00:00:00 2001 From: "william.xwl" Date: Wed, 18 Jan 2006 13:14:00 +0000 Subject: Pass correct parameter to `run-at-time', to make sure only one timer is running. darcs-hash:20060118131412-e8fe6-d423f6a7aa50b929403fc333984280e137b6b8fe.gz --- emms-playing-time.el | 4 ++-- 1 file 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." -- cgit v1.2.3