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

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

RE: [External] : messages to *Messages* without appearing in mini-buffer


From: Drew Adams
Subject: RE: [External] : messages to *Messages* without appearing in mini-buffer?
Date: Fri, 12 Nov 2021 00:20:18 +0000

> > (let ((inhibit-message  t))
> >   (message "Msg only to be logged in *Messages*"))
> 
> Doesn't work for me?
> 
> I see it.
> 
> Dont know if message displays it or if it is displayed because
> it is returned.

What you see is the printed return value of
the sexp you asked to evaluate-AND-PRINT.

Try `eval-region' on the sexp instead.

Or put it in a defun and invoke the function
in a way that doesn't also print its return value.
 

<<attachment: winmail.dat>>


reply via email to

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