emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2de25accaf 4/4: Warn about `condition-case' with quoted condi


From: Stefan Monnier
Subject: Re: master 2de25accaf 4/4: Warn about `condition-case' with quoted condition names
Date: Thu, 29 Dec 2022 09:45:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> +        (when (and (eq (car-safe condition) 'quote)
> +                   (cdr condition) (null (cddr condition)))
> +          (byte-compile-warn-x
> +           condition "`condition-case' condition should not be quoted: %S"
> +           condition))

Shouldn't we instead warn about any unknown error signals?


        Stefan




reply via email to

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