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

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

Re: save-excursion doesn't save point?


From: Kevin Rodgers
Subject: Re: save-excursion doesn't save point?
Date: Tue, 11 Jun 2002 11:11:53 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Paul Stoeber wrote:

I use shuffle-lines to shuffle my music playlist.
It could be generally useful.  Emacs already has shuffle-vector.


Then it seems the simplest implementation would be to read the region
into a vector, shuffle the vector, then overwrite the region with the
vector's contents.

--
Kevin Rodgers <kevinr@ihs.com>




reply via email to

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