all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to suppress messages?
@ 2005-01-26 23:25 Drew Adams
  2005-01-27  0:33 ` Edward O'Connor
  2005-01-27  5:15 ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Drew Adams @ 2005-01-26 23:25 UTC (permalink / raw)


I couldn't find any mention in the Elisp manual of a way to do this. If I
have a function that calls a function (a built-in, as it turns out) that
calls (message...), how can my function stop the message from being
displayed by the called function?

The example is a call to `default-boundp'. In Emacs 20, this apparently
displays a message "Library is file `whatever'." By grepping, this seems
like it might come from a call to `locate-library', but, as I say,
`default-boundp' is built-in.

Is there some way to bind something and then call the "messaging" function
(e.g. `default-boundp') from within the binding scope, to prevent messages
from echoing? E.g. (let ((inhibit-messages t)) ... (default-boundp ...)).

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-01-28 18:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.15741.1106847668.27204.help-gnu-emacs@gnu.org>
2005-01-28  7:43 ` How to suppress messages? Tom Capey
2005-01-28  8:20   ` Tom Capey
2005-01-28 15:06   ` Drew Adams
2005-01-28 18:56     ` Joe Corneli
2005-01-26 23:25 Drew Adams
2005-01-27  0:33 ` Edward O'Connor
2005-01-27  1:03   ` Drew Adams
2005-01-27  5:15 ` Eli Zaretskii
2005-01-27 17:24   ` Drew Adams
2005-01-27 20:50     ` John Paul Wallington
2005-01-27 21:10       ` Drew Adams
2005-01-27 23:18         ` T. V. Raman
     [not found]     ` <mailman.15770.1106861744.27204.help-gnu-emacs@gnu.org>
2005-01-27 23:45       ` Thien-Thi Nguyen

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.