aboutsummaryrefslogtreecommitdiff
path: root/emms-lyrics.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-01-04 06:10:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-01-04 06:10:00 +0000
commit7fe71e6381915e775deed571f7b5c0babdf0f394 (patch)
tree1e8a2b50a9a1e80748917a8c093fd604aee28bda /emms-lyrics.el
parent76389c6781d42947ce36fa8b260391935532a941 (diff)
Use timers in a way that is compatible with both Emacs and XEmacs.
darcs-hash:20060104061024-1bfb2-a35972f84a96c27a9a4bee6a245a8cbe2d6a8dd1.gz
Diffstat (limited to 'emms-lyrics.el')
-rw-r--r--emms-lyrics.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index 7f17981..ebbfc12 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -178,7 +178,7 @@ To find FILE, will look up in current directory and `emms-lyrics-dir'."
"Stop displaying lyrics."
(interactive)
(when emms-lyrics-alist
- (cancel-function-timers 'emms-lyrics-display)
+ (mapc #'emms-cancel-timer emms-lyrics-timers)
(if (or (not emms-player-paused-p)
emms-player-stopped-p)
(setq emms-lyrics-alist nil