[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19342: auto-fill scan-error in sh-mode
From: |
Stefan Monnier |
Subject: |
bug#19342: auto-fill scan-error in sh-mode |
Date: |
Fri, 06 May 2022 11:11:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen [2022-05-06 17:03:24] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> So if we want to silence the message, all it takes is to use
>> `ignore-error` instead as in the patch below, no?
>
> [...]
>
>> (while
>> - (and (with-demoted-errors "SMIE Error: %S"
>> + (and (ignore-error scan-error
>
> Yup; that fixes the problem.
Pushed, thanks,
Stefan