diff options
Diffstat (limited to 'emms-tag-editor.el')
-rw-r--r-- | emms-tag-editor.el | 7 |
1 files changed, 5 insertions, 2 deletions
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))) |