aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Xu <william.xwl@gmail.com>2008-04-06 14:46:00 +0000
committerWilliam Xu <william.xwl@gmail.com>2008-04-06 14:46:00 +0000
commitd876bd1443c85f10f6da318f19e9619d04204ea7 (patch)
treea536472aa4a3d73d75cab5997260e0d6b945c521
parentfb73b8713841d417d8b9e6c40e97f38e301053f4 (diff)
emms-lyrics-coding-system: Change default value to nil and update
docstring. This change will allow us to use lyrics files encoded with different coding systems. darcs-hash:20080406144623-cfa61-7109bbc9b6c370932989103f2f807ec76eb622d6.gz
-rw-r--r--emms-lyrics.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index d14ba3b..dfcc7a8 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -1,6 +1,6 @@
;;; emms-lyrics.el --- Display lyrics synchronically
-;; Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
;; Author: William Xu <william.xwl@gmail.com>
;; Keywords: emms music lyrics
@@ -76,8 +76,14 @@ same as the music file) and this directory."
:type 'string
:group 'emms-lyrics)
-(defcustom emms-lyrics-coding-system 'utf-8
- "Coding system used in the output of lyrics."
+(defcustom emms-lyrics-coding-system nil
+ "Coding system for reading lyrics files.
+
+If all your lyrics use the same coding system, you can set this
+variable to that value; else you'd better leave it to nil, and
+rely on `prefer-coding-system', `file-coding-system-alist' or
+\(info \"(emacs)File Variables\"), sorted by priority
+increasingly."
:type 'coding-system
:group 'emms-lyrics)