emacs-devel
[Top][All Lists]
Advanced

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

Re: defvars at compile time


From: David Kastrup
Subject: Re: defvars at compile time
Date: Fri, 16 Sep 2005 13:18:36 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> (A little comment regarding recent changes by Carsten Dominik to the
> reftex*.el files.)
>
> I've seen that, as part of your changes, you've moved some defvar's
> I added, wrapping them inside `eval-when-compile'. I much *prefer*
> that, I dislike them at top level when they're not really defining a
> variable, just silencing the byte-compiler. That's what I'd do on my
> own modules.

Actually, I get "might be undefined at run time" in some similar
eval-when-compile wrapped situations.  And having different semantics
during compilation and execution also is not a good idea.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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