aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-cache.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-cache.el b/emms-cache.el
index 15ccd39..409a24a 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -132,7 +132,7 @@ This is used to cache over emacs sessions.")
"(puthash %S '%S emms-cache-db)\n" k v)))
emms-cache-db)
(when (fboundp 'set-buffer-file-coding-system)
- (set-buffer-file-coding-system 'utf-8))
+ (set-buffer-file-coding-system emms-cache-file-coding-system))
(write-region (point-min) (point-max) emms-cache-file)
(kill-buffer (current-buffer))
(message "Saving emms track cache...done")