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

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

bug#64960: Documentation for copy-sequence


From: Dmitry Gutov
Subject: bug#64960: Documentation for copy-sequence
Date: Sun, 30 Jul 2023 22:59:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 30/07/2023 22:20, uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
So it returns a copy but elements are not copied.  So what happens exactly ?
You get a reference to the original ?  When I modify the copy, the original
remains intact.

The list (if the sequence is a list) is new (from newly allocated cons cells), but the values inside (in cars of those conses) are shared with the original list.





reply via email to

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