aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-setup.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-setup.el b/emms-setup.el
index dc55b36..693d40b 100644
--- a/emms-setup.el
+++ b/emms-setup.el
@@ -84,7 +84,8 @@ audio files, and a metadata cache."
(add-to-list 'emms-info-functions 'emms-info-mp3info)
(add-to-list 'emms-info-functions 'emms-info-ogginfo)
(setq emms-track-description-function 'emms-info-track-description)
- (emms-cache 1))
+ (when (fboundp 'emms-cache) ; work around compiler warning
+ (emms-cache 1)))
;;;###autoload
(defun emms-all ()