emacs-devel
[Top][All Lists]
Advanced

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

Re: Don't complain about changed file when it hasn't changed


From: Clément Pit--Claudel
Subject: Re: Don't complain about changed file when it hasn't changed
Date: Tue, 30 Aug 2016 12:38:47 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 2016-08-30 12:11, Eli Zaretskii wrote:
>> From: Clément Pit--Claudel <address@hidden>
>> Date: Tue, 30 Aug 2016 11:23:31 -0400
>>
>> I didn't realize that these functions needed widening. Its documentation 
>> doesn't seem to mention it, nor its docstring. What about the attached patch?
> 
> This is not specific to these functions, this is a universal rule in
> Emacs: if you want to access a buffer position, you need to make sure
> it's in the accessible region.

Ok; I wasn't aware of this rule.  The documentation of buffer-substring 
mentions the error, so I though the patch would be useful.

Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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