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

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

[debbugs-tracker] bug#35967: closed ([PATCH] avoid flyspell error if poi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35967: closed ([PATCH] avoid flyspell error if point is at bob)
Date: Mon, 17 Jun 2019 19:06:01 +0000

Your message dated Mon, 17 Jun 2019 14:04:53 -0500
with message-id <address@hidden>
and subject line Re: bug#35967: [PATCH] avoid flyspell error if point is at bob
has caused the debbugs.gnu.org bug report #35967,
regarding [PATCH] avoid flyspell error if point is at bob
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
35967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35967
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] avoid flyspell error if point is at bob Date: Tue, 28 May 2019 15:43:53 -0500 User-agent: mu4e 1.2.0; emacs 27.0.50
Hello -

The attached patch avoids an args-out-of-range error (from
`get-text-property') if `flyspell-prog-mode' is on and point is in a
comment at the beginning of the buffer.

Thanks,
Alex

Attachment: 0001-Avoid-a-flyspell-error-if-point-is-at-beginning-of-b.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#35967: [PATCH] avoid flyspell error if point is at bob Date: Mon, 17 Jun 2019 14:04:53 -0500 User-agent: mu4e 1.2.0; emacs 27.0.50
On Fri 14 Jun 2019 at 14:14, Andreas Schwab <address@hidden> wrote:

>> +    (let ((f (get-text-property (- (point) 1) 'face)))
>
> Perhaps change this to (1- (point)).

Thanks, I made that change and pushed as 
1942f4ccba52896e3e97789dc6b51926ad74c591 on the master branch.

Alex


--- End Message ---

reply via email to

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