(inhibit-message (message "something very secret and useless"))
should not print anything at all.
Thanks in advance,Nordlöw
(defmacro inhibit-message (&rest body) `(flet ((message (&rest _))) ,@body))
-ap