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

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

bug#60860: 29.0.60; set save-silently to t can not avoid messages when s


From: Eason Huang
Subject: bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files
Date: Sat, 01 Apr 2023 00:22:03 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Juri Linkov <juri@linkov.net> writes:

>>> To do the same, in Emacs 29 it's possible to add all these strings
>>> like "Saving file..." to 'inhibit-message-regexps'.
>>
>> I tried to set (setq inhibit-message-regexps "^Saving"), but the message
>> in acho area still exist when saving file.
>
> Please also customize 'set-message-functions' so that its first element
> is 'inhibit-message'.  Also 'inhibit-message-regexps' should be a list.
> These settings should disable the message:
>
>   (setq inhibit-message-regexps '("^Saving"))
>   (setq set-message-functions '(inhibit-message))
>

Great, this setting works as expected:

```
(setq inhibit-message-regexps '("^Saving" "^Wrote"))
(setq set-message-functions '(inhibit-message))
```
-- 
Eason Huang






reply via email to

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