Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Inhibiting Messages Temporarily

4 views
Skip to first unread message

Nordlöw

unread,
Mar 30, 2010, 10:09:27 AM3/30/10
to
How can I temporarily (in block) inhibit messages during the
evaluation of a specific block? Something like:

(inhibit-message
(message "something very secret and useless"))

should not print anything at all.

Thanks in advance,
Nordlöw

Andreas Politz

unread,
Mar 30, 2010, 11:36:04 AM3/30/10
to
Nordlöw <per.n...@gmail.com> writes:

(defmacro inhibit-message (&rest body)
`(flet ((message (&rest _)))
,@body))

-ap

0 new messages