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

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

Re: messages to *Messages* without appearing in mini-buffer?


From: Eric S Fraga
Subject: Re: messages to *Messages* without appearing in mini-buffer?
Date: Thu, 11 Nov 2021 14:55:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Thursday, 11 Nov 2021 at 14:45, Gregory Heytings wrote:
> (defun message-quiet (format-string &rest args)
>   "Like `message', but do not display the message at the bottom of the 
> screen."
>   (let ((set-message-function #'always))
>     (apply #'message format-string args)))

Excellent!  Many thanks.

I just needed the (set-message-function #'always) added to an existing
(let ...) and everything is working very nicely.

-- 
Eric S Fraga with org 9.5 in Emacs 29.0.50 on Debian 11.1



reply via email to

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