emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/hcel 9dc18bef43 11/13: fixing header comments


From: Yuchen Pei
Subject: Re: [elpa] externals/hcel 9dc18bef43 11/13: fixing header comments
Date: Thu, 29 Sep 2022 14:47:43 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Wed 2022-09-21 09:21:06 -0400, Stefan Monnier wrote:

>> -      (get-text-property (1- (point)) prop)))
>> +      (get-text-property (max 0 (1- (point))) prop)))
>
> Buffer positions start at `point-min` (usually 1) not 0, so you should
> probably use (max (point-min) (1- (point)))
>

Thanks.  Done in commit 7f73da1.

Best,
Yuchen

-- 
PGP Key: 47F9 D050 1E11 8879 9040  4941 2126 7E93 EF86 DFD0
          <https://ypei.org/assets/ypei-pubkey.txt>



reply via email to

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