aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoni-r <yoni-r>2006-09-22 09:47:00 +0000
committeryoni-r <mwolson@gnu.org>2006-09-22 09:47:00 +0000
commit794a5abbd8e35458d0e6a6d2ce013205eefceb26 (patch)
tree1a7d38cd1eaf64da7dd421fc41bbab4a0906e005
parent876bc87c3b24ee8dea7fe697d1b0f127ed16621b (diff)
emms-playing-time.el now works with `seek-to'.
darcs-hash:20060922094757-85c19-fbb086056c6b7050585a8ad86996d39c2a8085e4.gz
-rw-r--r--emms-playing-time.el1
-rw-r--r--emms.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index 591ae3e..295c4c5 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -120,6 +120,7 @@ should enable `emms-playing-time-display-p' first, though."
(add-hook 'emms-player-finished-hook 'emms-playing-time-stop)
(add-hook 'emms-player-paused-hook 'emms-playing-time-pause)
(add-hook 'emms-player-seeked-functions 'emms-playing-time-seek)
+ (add-hook 'emms-player-seeked-to-functions 'emms-playing-time-set)
(add-hook 'emms-player-time-set-functions 'emms-playing-time-set))
(setq emms-playing-time-display-p nil)
(emms-playing-time-stop)
diff --git a/emms.el b/emms.el
index 4e567d2..75b961a 100644
--- a/emms.el
+++ b/emms.el
@@ -222,7 +222,7 @@ seconds the player did seek."
(defcustom emms-player-seeked-to-functions nil
"*Functions called when a player is seeking.
The functions are called with a single argument, the amount of
-seconds the player did seek."
+seconds the player seeked to."
:group 'emms
:type 'hook)