[Top][All Lists]

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

Re: strange byte compiler behavior

From: Stefan Monnier
Subject: Re: strange byte compiler behavior
Date: Sat, 05 Jan 2008 21:00:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>     No need to try: the boundp test is still needed to catch the case of
>     a variable defined globally in all cases (e.g. in C code or in preloaded
>     packages) as well as for variables defined in packages that are
>     `require'd (or loaded transitively by some of the `require'd packages).

> Would you please fill in the gaps in that argument?
> I don't see why it is needed for those.  Shouldn't those
> variables be defvar'd?

They are, but elsewhere and the byte-compiler only knows about it via
`boundp': it doesn't keep its own list of defvar'd variables.


reply via email to

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