[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About elisp, Lossing data after sort
From: |
Pascal Bourguignon |
Subject: |
Re: About elisp, Lossing data after sort |
Date: |
Wed, 14 Mar 2007 09:48:15 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) |
"htbest2000" <htbest2000@gmail.com> writes:
> On Mar 14, 12:39 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
>> In article <1173837100.827152.92...@l75g2000hse.googlegroups.com>,
>> "htbest2000" <htbest2...@gmail.com> wrote:
>> > (sort list '<)
>>
>> Change that to:
>>
>> (setq list (sort list '<))
>>
> Thanks in advance!
Too late!
But do you understand why you should use (setq list (sort list '<))
instead of merely (sort list '<)?
--
__Pascal Bourguignon__
http://www.informatimago.com
http://pjb.ogamita.org