emacs-devel
[Top][All Lists]
Advanced

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

Re: defvar vs setqif..


From: Miles Bader
Subject: Re: defvar vs setqif..
Date: 21 May 2002 08:15:50 +0900

"D. Goel" <address@hidden> writes:
> > > So i was wondering is a special-form like 'setqif' could be
> >
> > That name would be wrong, because the usage of defvar you're
> > complaining about doesn't set the variable at all.
> 
> but that's why i had an 'if' at the end.. to suggest that setq only if
> not already defined.. else don't setq..

I guess this is already resolved, but just to make sure things are
clear, `defvar' without an initializer _never_ binds or sets the variable.
In fact it shouldn't affect the variable at all, only meta-information
about the variable.

-Miles
-- 
Quidquid latine dictum sit, altum viditur.



reply via email to

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