>     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.

One case I know was consciously make to work is (defvar :foo :foo) so that
packages using :foo could be kept backward compatible with Emacs-19
where :foo is a normal variable because keywords don't exist.
Whether we should still cater to such thing is another question.


        Stefan


_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to