emacs-devel
[Top][All Lists]
Advanced

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

Re: Another bug with the macro counter


From: David Kastrup
Subject: Re: Another bug with the macro counter
Date: Sun, 31 Oct 2004 08:43:48 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Stefan <address@hidden> writes:

>> Quieting the byte compiler can probably also be achieved with
>> (eval-when-compile (defvar edebug-active))
>
> Hopefully such ugly hack doesn't work.
> (defvar foo) only has an effect when seen by the byte-compiler, so putting
> it in a `eval-when-compile' is at best pointless.

Last time I looked, defvar had an effect at run time, namely binding
the variable to NIL if yet unbound.  And that means that if a package
_defining_ foo gets loaded, the initial definition of foo will be nil
instead of the intended initial value.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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