[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defvar'ing constants
From: |
Jay Belanger |
Subject: |
Re: defvar'ing constants |
Date: |
Fri, 24 Jun 2005 23:14:10 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> For consistency:
>
> (defvar CONSTANT) ; should work
> (defvar CONSTANT ITS-VALUE) ; should work
> (defvar CONSTANT OTHER-VALUE) ; should fail
>
> I think it is more consistent to make them all errors.
> defvar should not be used on these symbols.
If a constant is defined in one file but used in a second, is there
then a way of quieting the compiler when the second file is compiled?