diff options
Diffstat (limited to 'emms-info-mp3info.el')
-rw-r--r-- | emms-info-mp3info.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/emms-info-mp3info.el b/emms-info-mp3info.el index 46d15a0..567f0fc 100644 --- a/emms-info-mp3info.el +++ b/emms-info-mp3info.el @@ -88,11 +88,12 @@ This is a useful element for `emms-info-functions'." (while (looking-at "^\\([^=\n]+\\)=\\(.*\\)$") (let ((name (intern (match-string 1))) (value (match-string 2))) - (unless (eq emms-info-mp3info-coding-system - emms-cache-file-coding-system) - (setq value (emms-iconv value - emms-info-mp3info-coding-system - emms-cache-file-coding-system))) + (and (boundp 'emms-cache-file-coding-system) + (not (eq emms-info-mp3info-coding-system + emms-cache-file-coding-system)) + (setq value (emms-iconv value + emms-info-mp3info-coding-system + emms-cache-file-coding-system))) (when (> (length value) 0) (emms-track-set track |