diff options
-rw-r--r-- | emms.el | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -363,14 +363,6 @@ See `emms-repeat-track'." (when (not emms-player-playing-p) (error "No EMMS player playing right now"))) -(defun emms-cancel-timer (timer) - "Cancel the given TIMER." - (when timer - (cond ((fboundp 'cancel-timer) - (cancel-timer timer)) - ((fboundp 'delete-itimer) - (delete-itimer timer))))) - ;;; Tracks @@ -1183,5 +1175,16 @@ or negative to seek backwards." (list (cons name value)))))) dict) + +;;; XEmacs compatibility + +(defun emms-cancel-timer (timer) + "Cancel the given TIMER." + (when timer + (cond ((fboundp 'cancel-timer) + (cancel-timer timer)) + ((fboundp 'delete-itimer) + (delete-itimer timer))))) + (provide 'emms) ;;; emms.el ends here |