--- 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
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 ---