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

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

bug#52314: Set message functions


From: Stefan Kangas
Subject: bug#52314: Set message functions
Date: Fri, 11 Nov 2022 05:38:45 -0800

tags 52314 - patch
thanks

Juri Linkov <juri@linkov.net> writes:

>>> +(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$")

I'm removing the patch tag for now, as it seems like this is not yet
ready for installing on master.





reply via email to

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