emacs-devel
[Top][All Lists]
Advanced

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

Re: gdb-ui.el assumes images support


From: Richard Stallman
Subject: Re: gdb-ui.el assumes images support
Date: Wed, 10 Nov 2004 22:14:46 -0500

    If you are talking about (eval-when-compile (require ...) ...) _in
    general_ then the following text from `(elisp)Coding Conventions'
    which encourages use of this construct to avoid compiler warnings
    should be changed:

         Sometimes adding a `require' for another package is useful to
         avoid compilation warnings for variables and functions defined in
         that package.  If you do this, often it is better if the
         `require' acts only at compile time.  Here's how to do that:

              (eval-when-compile
                (require 'foo)
                (defvar bar-baz))

Thanks for finding this.  I think I will rewrite it not to suggest this.




reply via email to

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