diff options
author | Ye Wenbin <wenbinye@gmail.com> | 2007-04-08 11:13:00 +0000 |
---|---|---|
committer | Ye Wenbin <wenbinye@gmail.com> | 2007-04-08 11:13:00 +0000 |
commit | 9349465d281f49f3df7bf0255d82f04298a082c7 (patch) | |
tree | f177ffbeee00aadcf9e7596140ebb46147ee442d | |
parent | c3037cc5b844ed16abf2b1f848780eed2da51fd5 (diff) |
Fix order of emms-cache-set-function arguments.
darcs-hash:20070408111309-94065-0a835a494fdb296418a704a27aa8153cc419f055.gz
-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))) |