[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:30:10 +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 run another,but is right?!
(progn
(setq foo '(1 6 8 10 3 4))
(add-to-ordered-list1 'foo 10)
)
(1 6 8 10 3 4)
Is a elisp bug?
--
a machine of awareness
DebianăEmacs+Gnus