Fix running of hook

This commit is contained in:
Tom Willemse 2013-05-25 00:25:31 +02:00
parent e6ad9e20bb
commit ab4fee09d3

View file

@ -46,7 +46,7 @@
(when (string-match "^ICY Info: StreamTitle='\\(.*\\)';StreamUrl='';"
string)
(setq metal-express-radio-currently-playing (match-string 1 string))
(apply 'run-hooks metal-express-radio-song-changed-hook)))
(run-hooks 'metal-express-radio-song-changed-hook)))
(defun metal-express-radio-echo-currently-playing ()
(interactive)