aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam.xwl <william.xwl>2005-09-23 04:23:00 +0000
committerwilliam.xwl <mwolson@gnu.org>2005-09-23 04:23:00 +0000
commit78c58f36be38a353407b78cd57503873ca0d7c63 (patch)
tree7db2672fd55ad0d774b1362934d35de87229e411
parent2a3e1237f2f9c647535f53f8cc798507ed4db0e9 (diff)
emms-lyrics.el: Fixed a bug in `emms-lyrics-start'.
darcs-hash:20050923042355-e8fe6-f8963a566f39a7ce381c38e6849088215c640d98.gz
-rw-r--r--emms-lyrics.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index 8ca0cdd..11f0a07 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -168,8 +168,10 @@ To find FILE, will look up in current directory and `emms-lyrics-dir'."
emms-lyrics-pause-time nil
emms-lyrics-elapsed-time 0)
(when (and emms-lyrics-display-p
- emms-lyrics-alist
- (let ((file (cdaddr (emms-playlist-current-selected-track))))
+ (let ((file
+ (emms-track-get
+ (emms-playlist-current-selected-track)
+ 'name)))
(emms-lyrics-read-file
(replace-regexp-in-string
(file-name-extension file) "lrc" file))))