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

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

bug#28627: 24.5; doc of `copy-sequence'


From: Eli Zaretskii
Subject: bug#28627: 24.5; doc of `copy-sequence'
Date: Sat, 30 Sep 2017 16:04:31 +0300

> Date: Wed, 27 Sep 2017 13:40:06 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> The doc should make clear that there is only one empty-sequence object,
> for each type of sequence.  In particular, `copy-sequence' does not
> create a new sequence object if the sequence is empty.

Thanks.  I didn't feel we should guarantee what we have in the current
implementation, especially as describing all the details might be
tedious (does "vectors" include bool-vector or doesn't it?).  So I
just added a vague statement that copying an empty object may yield
the same object.  I think this is enough for Lisp programmers to
produce a valid and future-proof code.





reply via email to

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