diff options
-rw-r--r-- | emms-tag-editor.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-tag-editor.el b/emms-tag-editor.el index 9459938..1d10020 100644 --- a/emms-tag-editor.el +++ b/emms-tag-editor.el @@ -392,8 +392,9 @@ edit buffer." (emms-track-set track 'name filename) (setq need-sync t) ;; register to emms-cache-db - (funcall emms-cache-modified-function) - (funcall emms-cache-set-function filename 'file old)) + (when (boundp 'emms-cache-modified-function) + (funcall emms-cache-modified-function) + (funcall emms-cache-set-function 'file filename old))) ;; set tags to original track (dolist (tag emms-tag-editor-tags) (when (setq val (emms-track-get track (car tag))) |