aboutsummaryrefslogtreecommitdiff
path: root/emms.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-10-17 21:02:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-10-17 21:02:00 +0000
commit6db74368f95169f2122667d2c436199f4861fc7d (patch)
tree3a347000b1ee527a85a0e4b57b7d026f91da9f54 /emms.el
parent3d79cae684692c04a4555b6f02a9639ec2c69031 (diff)
Since emms-player-seeked-to-functions and emms-player-time-set-functions hooks do the same thing, replace the former with the latter
darcs-hash:20061017210238-1bfb2-bdadf89a3b753c5704e7252ff21d87ae6c59d79d.gz
Diffstat (limited to 'emms.el')
-rw-r--r--emms.el9
1 files changed, 1 insertions, 8 deletions
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