emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacs-lisp/cl.el (pushnew): void-variable x


From: Miles Bader
Subject: Re: emacs-lisp/cl.el (pushnew): void-variable x
Date: Tue, 12 Sep 2006 10:55:18 +0900

address@hidden (Kim F. Storm) writes:
>>     But what's the wisdom behind pushnew-internal [we already know that
>>     PLACE is a symbol]?
>>
>> This is in case we someday switch to lexical binding.
>> add-to-list won't work properly on lexical varables.
>
> Ok, but why does it need a defvar ?

That tells the compiler that pushnew-internal is a special (non-lexical)
variable.

-Miles

-- 
"Suppose we've chosen the wrong god. Every time we go to church we're
just making him madder and madder." -- Homer Simpson




reply via email to

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