emacs-devel
[Top][All Lists]
Advanced

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

Re: Can we add two args to copy-sequence?


From: Elias Mårtenson
Subject: Re: Can we add two args to copy-sequence?
Date: Fri, 15 Dec 2017 16:24:50 +0800

On 15 December 2017 at 15:54, John Wiegley <address@hidden> wrote:
>>>>> "j" == jun  <address@hidden> writes:

j> like this: (copy-sequence seq &optional from to). 'from' and 'to' mean the
j> same as in the function 'substring'.

I'd rather not overload copy-sequence that way, and rather have a new function
named (sublist LIST &optional FROM TO), even if copy-sequence xs == sublist xs.

There is already the function ‘subseq’ that does exactly this, or did I misunderstand
the question?

reply via email to

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