[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emms-patches] darcs patch: Fix bug of missing lyrics
From: |
William Xu |
Subject: |
Re: [Emms-patches] darcs patch: Fix bug of missing lyrics |
Date: |
Fri, 04 Apr 2008 23:42:41 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) |
Ye Wenbin <address@hidden> writes:
> Note that sort is a destructive function, so the value should store back
> after sort.
Since `sort' is destructive, emms-lyrics-alist will be modified in
place. I don't understand what your patch does. It looks like doing
something similar to (setq foo foo).
> New patches:
>
> [Fix bug of missing lyrics
> Ye Wenbin <address@hidden>**20080403045858
>
> Note that sort is a destructive function, so the value should store back
> after sort.
> ] {
> hunk ./emms-lyrics.el 293
> - (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))))))
> }
--
William
http://williamxu.net9.org