[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb-ui.el assumes images support

From: Luc Teirlinck
Subject: Re: gdb-ui.el assumes images support
Date: Mon, 8 Nov 2004 18:35:41 -0600 (CST)

Nick Roberts wrote:

   In the case of tooltip.el, the undefind functions from gud and
   gdb-ui can only be invoked by using their debugger modes, so,
   AFAIK, "require" is not needed for these features.

If gud and gdb-ui are always going to be loaded whenever they have to
be (even after possible code changes in tooltip.el), then I believe
that the best way to avoid warnings is:

(eval-when-compile (require 'feature))

Otherwise, you can use things like `(if (fboundp 'myfun) ...)' or, if
necessary, `with-no-warnings'.  That would avoid silencing future
legitimate warnings. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]