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: S Boucher
Subject: Re: how 'add-to-ordered-list' use
Date: Mon, 17 Oct 2011 07:21:51 -0700 (PDT)

You should provide your version of emacs.  I don't see what you see.

(setq foo '(1 6 9 10 3 4))
(1 6 9 10 3 4)

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

(emacs-version)
"GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2011-05-31 on "


From: a machine of awareness <machine.of.awareness@gmail.com>
To: help-gnu-emacs@gnu.org
Sent: Monday, October 17, 2011 10:17:37 AM
Subject: how 'add-to-ordered-list' use

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)?
--
a machine of awareness
Debian、Emacs+Gnus





reply via email to

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