[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70063: [PATCH] fix warning-suppress for list type "warning type"
From: |
Eli Zaretskii |
Subject: |
bug#70063: [PATCH] fix warning-suppress for list type "warning type" |
Date: |
Sun, 31 Mar 2024 12:10:50 +0300 |
> From: Xuan Wang <code@wangxuan.name>
> Date: Thu, 28 Mar 2024 21:07:34 -0400
>
> Bug report:
>
> In warnings.el, the function warning-suppress is supposed to save the
> user's choice into variable warning-suppress-types or
> warning-suppress-log-types.
>
> The type of a warning can be a simple symbol, or a list of symbols in
> the format of '(warning-type subtype subsubtype).
>
> The change introduced by commit d5ee49c25c8f59ab17c40eebdf38a769c2f5588b
> fixes the problem in situations where the warning type is a simple
> symbol, but this commit's code saves wrong data if the warning type is a
> list.
Thanks, installed on the emacs-29 branch, and closing the bug.