|
From: | Emanuel Berg |
Subject: | Re: [External] : messages to *Messages* without appearing in mini-buffer? |
Date: | Fri, 12 Nov 2021 01:30:51 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Drew Adams wrote: >>> (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. (progn (message "But then why don't you just do that?") 1) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |