help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how 'add-to-ordered-list' use


From: Tim Landscheidt
Subject: Re: how 'add-to-ordered-list' use
Date: Mon, 17 Oct 2011 14:18:02 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

(anonymous) wrote:

> 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 can't reproduce that:

| ELISP> (setq foo '(1 6 9 10 3 4))
| (1 6 9 10 3 4)

| ELISP> (add-to-ordered-list 'foo 10)
| (1 6 9 10 3 4)

Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]