aboutsummaryrefslogtreecommitdiff
path: root/emms-cache.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-07-02 02:03:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-07-02 02:03:00 +0000
commitafe2cacd997d7d3c680843339177ba4e1b82c652 (patch)
treea5631fc03d4a6673ecffd45e881f9d5b12ef4539 /emms-cache.el
parent4a873b05b48e1b3bca23499494cff40bf6a3e74a (diff)
Fix more XEmacs issues.
darcs-hash:20060702020302-1bfb2-ce8e5060cf1f7db0cf52e40d711d16e621f3968c.gz
Diffstat (limited to 'emms-cache.el')
-rw-r--r--emms-cache.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-cache.el b/emms-cache.el
index 441e70e..958c826 100644
--- a/emms-cache.el
+++ b/emms-cache.el
@@ -122,7 +122,8 @@ This is used to cache over emacs sessions.")
(insert (format
"(puthash %S '%S emms-cache-db)\n" k v)))
emms-cache-db)
- (set-buffer-file-coding-system 'mule-utf-8)
+ (when (fboundp 'set-buffer-file-coding-system)
+ (set-buffer-file-coding-system 'utf-8))
(write-region (point-min) (point-max) emms-cache-file)
(kill-buffer (current-buffer))
(message "Saving emms track cache...done")