Jay Belanger <[EMAIL PROTECTED]> writes:

> "Richard M. Stallman" <[EMAIL PROTECTED]> 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?

(defconst CONSTANT)

would appear to be a nice form for doing that.  It is not valid right
now.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to