From 9349465d281f49f3df7bf0255d82f04298a082c7 Mon Sep 17 00:00:00 2001 From: Ye Wenbin Date: Sun, 8 Apr 2007 11:13:00 +0000 Subject: Fix order of emms-cache-set-function arguments. darcs-hash:20070408111309-94065-0a835a494fdb296418a704a27aa8153cc419f055.gz --- emms-tag-editor.el | 5 +++-- 1 file 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))) -- cgit v1.2.3