|
From: | Ye Wenbin |
Subject: | Re: [Emms-patches] darcs patch: Fix bug of missing lyrics |
Date: | Fri, 04 Apr 2008 22:53:40 +0800 |
User-agent: | Opera Mail/9.25 (Linux) |
function `sort' may change the value of the list, not means the value of theYe Wenbin <address@hidden> writes:Note that sort is a destructive function, so the value should store backafter 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).
list is the result after sorted. There is an example in the elisp manual: 5.6.3 Functions that Rearrange Lists (setq nums '(1 3 2 6 5 4 0)) => (1 3 2 6 5 4 0) (sort nums '<) => (0 1 2 3 4 5 6) nums => (1 2 3 4 5 6) In fact, I found some of my lyrics were missing, so I debuged and fixed it. -- Best Regards, Ye Wenbin
[Prev in Thread] | Current Thread | [Next in Thread] |