[Top][All Lists]

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

Re: `aset` on strings, changing the size in bytes

From: Paul Eggert
Subject: Re: `aset` on strings, changing the size in bytes
Date: Fri, 7 Sep 2018 16:12:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Johan Bockgård wrote:
According to the documentation, that is already an error...

(info "(elisp) Modifying Strings")

Cool! That means we can do Stefan's request simply by reverting Kenichi Handa's patch that introduced the ability to change the byte length of a string (commit 3c9de1afcde82a99137721436c822059cce79b5b dated 2000-07-21 06:45:30 UTC), since that patch made the code explicitly disagree with the documentation. Though this leaves open the question of why Handa made that change in the first place.

reply via email to

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