aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Wenbin <wenbinye@gmail.com>2008-04-03 04:58:00 +0000
committerYe Wenbin <wenbinye@gmail.com>2008-04-03 04:58:00 +0000
commitfb73b8713841d417d8b9e6c40e97f38e301053f4 (patch)
tree59a3a733c66e72fab006caa8a7f6a3066eaf9215
parentc7e297ecff6ce3e4baf3957345f6e18c245d8507 (diff)
Fix bug of missing lyrics
Note that sort is a destructive function, so the value should store back after sort. darcs-hash:20080403045858-94065-7b772d23b118d68193939433d0c4cd00a102589b.gz
-rw-r--r--emms-lyrics.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index cba4baf..d14ba3b 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -271,7 +271,8 @@ FILE should be under the same directory as the music file, or under
(setq emms-lyrics-alist
(append emms-lyrics-alist `((,time . ,lyric))))
(setq time 0)))))
- (sort emms-lyrics-alist (lambda (a b) (< (car a) (car b)))))
+ (setq emms-lyrics-alist
+ (sort emms-lyrics-alist (lambda (a b) (< (car a) (car b))))))
t)))
(defun emms-lyrics-start ()