[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how 'add-to-ordered-list' use
From: |
a machine of awareness |
Subject: |
Re: how 'add-to-ordered-list' use |
Date: |
Tue, 18 Oct 2011 21:57:29 +0800 |
User-agent: |
Emacs+gnus |
a machine of awareness <machine.of.awareness@gmail.com> writes:
> I read elisp manual.I use 'add-to-ordered-list',
> and don't understand.Please look example:
> (setq foo '(1 6 9 10 3 4))
> (1 6 9 10 3 4)
> (add-to-ordered-list 'foo 10)
> (6 9 1 10 3 4)
>
> Why order is changed?
> From (1 6 9 10 3 4) to (6 9 1 10 3 4)?
I know, I am wrong.
Because before run > (add-to-ordered-list 'foo 10) <,
(get 'foo 'list-order) ==>
#s(hash-table size 65 test eq ... data (9 0)),
it lead to problem!
--
a machine of awareness
DebianăEmacs+Gnus