From 794a5abbd8e35458d0e6a6d2ce013205eefceb26 Mon Sep 17 00:00:00 2001 From: yoni-r Date: Fri, 22 Sep 2006 09:47:00 +0000 Subject: emms-playing-time.el now works with `seek-to'. darcs-hash:20060922094757-85c19-fbb086056c6b7050585a8ad86996d39c2a8085e4.gz --- emms-playing-time.el | 1 + emms.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3