Subject: bug#52314: Set message functions

From: Stefan Kangas <[email-masked]>
Date: Mon, 6 Dec 2021 02:27:12 +0100

Juri Linkov <[email-masked]> writes:

> To address several requests, there is a patch for Emacs 29 that supports:
[snip]

Cool!

> +(defcustom inhibit-message-regexp nil
> +  "Regexp to inhibit messages by the function `inhibit-message'."
> +  :type '(choice (const :tag "Don't inhibit messages" nil)
> +                 (regexp :tag "Inhibit messages that match regexp"))
> +  :version "29.1")

How about making this optionally support a list as well?  That would
make it slightly easier to customize with `M-x customize', I think,
especially once you start racking up many ignored messages.