[Top][All Lists]

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

Re: void variable

From: Stefan Monnier
Subject: Re: void variable
Date: 26 Jul 2004 17:13:57 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>    Maybe we could arrange for defvar to burp a warning if the var is
>    currently let-bound?

> Just to be sure, I assume you mean a compiler warning?  (As opposed to
> the kind of thing that `define-minor-mode' does.)  defvar-ing
> let-bound variables is OK for autoloaded variables.  It is also OK for
> `(defvar foo)''s that are just there to pacify the compiler.

I don't think it can be done half-reliably by the byte-compiler.
I was suggesting a runtime check in Fdefvar.


reply via email to

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