[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52314: Set message functions
From: |
Juri Linkov |
Subject: |
bug#52314: Set message functions |
Date: |
Mon, 06 Dec 2021 11:35:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> +(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.
Thanks, good idea, will add it in the next version of the patch.
Also this will help to add more regexps easier with e.g.:
(add-to-list 'inhibit-message-regexps "^Mark set$")