From 3c42fe2cc29a102faddc818a74fac9dfe34bbeac Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Thu, 7 Dec 2006 14:35:00 +0000 Subject: Fix various byte-compiler warnings throughout darcs-hash:20061207143511-1bfb2-90e8bee5074d6ef5ca4c9998886d28eedf6df671.gz --- emms-tag-editor.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'emms-tag-editor.el') diff --git a/emms-tag-editor.el b/emms-tag-editor.el index 5337910..5bfb3ee 100644 --- a/emms-tag-editor.el +++ b/emms-tag-editor.el @@ -348,8 +348,11 @@ edit buffer." (funcall emms-playlist-update-track-function)) ;; clear modified tag (emms-track-set track 'tag-modified nil)))) - (if (and need-sync (y-or-n-p "You have change some track names, sync the cache? ")) - (emms-cache-sync)) + (if (and (featurep 'emms-cache) + need-sync + (y-or-n-p "You have change some track names, sync the cache? ")) + (and (fboundp 'emms-cache-sync) ; silence byte-compiler + (emms-cache-sync))) (emms-tag-editor-display-log-buffer-maybe) (message "Set all mp3 tag done!"))) (if arg (bury-buffer))) -- cgit v1.2.3