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

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

Re: silence append-to-file?


From: Emanuel Berg
Subject: Re: silence append-to-file?
Date: Fri, 12 Nov 2021 17:18:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Gregory Heytings wrote:

>> Alternatively, is there a better function to use for this?
>
> (defun append-to-file-quiet (start end filename)
>   "Like `append-to-file', but do not log a message in *Messages*"
>   (let ((message-log-max nil))
>     (append-to-file start end filename)))

Can't one have a list of messages and errors one don't want to
hear ... e.g. Beginning of buffer, Mark set ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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