emacs-devel
[Top][All Lists]
Advanced

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

Re: Strange results from sort-coding-systems


From: Kevin Rodgers
Subject: Re: Strange results from sort-coding-systems
Date: Wed, 22 Mar 2006 09:58:40 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Stefan Monnier wrote:
 (let ((pref (car (sort-coding-systems
                    '(mule-utf-16-be mule-utf-16-le mule-utf-8)))))


sort-coding-systems is destructive, so you need to pass it a copy of
the list.

Its doc string should mention that "The CODINGS list is modified by side effects", just like sort's doc string.

--
Kevin Rodgers





reply via email to

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