From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Inhibiting Messages Temporarily
Date: Tue, 30 Mar 2010 17:36:04 +0200 [thread overview]
Message-ID: <87ljd9255n.fsf@fh-trier.de> (raw)
In-Reply-To: d3e9f436-7c9a-4fde-90f0-a9534c3baf65@y14g2000yqm.googlegroups.com
Nordlöw <per.nordlow@gmail.com> writes:
> 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
(defmacro inhibit-message (&rest body)
`(flet ((message (&rest _)))
,@body))
-ap
prev parent reply other threads:[~2010-03-30 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 14:09 Inhibiting Messages Temporarily Nordlöw
2010-03-30 15:36 ` Andreas Politz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ljd9255n.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.