[Top][All Lists]

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

Re: [PATCH 06/10] add most lisp-level features

From: Stefan Monnier
Subject: Re: [PATCH 06/10] add most lisp-level features
Date: Tue, 14 Aug 2012 11:05:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Stefan> Such as?

> I thought anything defvar'd was dynamically bound, so there are
> thousands of examples, including all those DEFVARs in the C code.  Is
> this not correct?

Anything declared with `defvar' is a variable which will be
dynamically-bound by `let'.  If you don't let-bind it, then it's just
a plain old global variable (tho potentially buffer-local, of course).

Yes, dynamic-scoping is very common, and will stay common in
lexical-binding code, but I don't think that should be a problem.


reply via email to

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