aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-playing-time.el1
-rw-r--r--emms.el9
2 files changed, 1 insertions, 9 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index a9f08c9..7b078e0 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -117,7 +117,6 @@ 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 75b961a..291a330 100644
--- a/emms.el
+++ b/emms.el
@@ -219,13 +219,6 @@ seconds the player did seek."
:group 'emms
:type 'hook)
-(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 seeked to."
- :group 'emms
- :type 'hook)
-
(defcustom emms-player-time-set-functions nil
"*Functions called when a player is setting the elapsed time of a track.
The functions are called with a single argument, the time elapsed
@@ -1349,7 +1342,7 @@ or negative to seek backwards."
(if (not seek)
(error "Player does not know how to seek-to")
(funcall seek seconds)
- (run-hook-with-args 'emms-player-seeked-to-functions seconds)))))
+ (run-hook-with-args 'emms-player-time-set-functions seconds)))))
;;; Dictionaries