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

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

bug#19342: auto-fill scan-error in sh-mode


From: Lars Ingebrigtsen
Subject: bug#19342: auto-fill scan-error in sh-mode
Date: Fri, 06 May 2022 17:03:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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