emacs-diffs
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r106923: Update Variables chapter


From: Chong Yidong
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r106923: Update Variables chapter of Lisp manual to handle lexical binding.
Date: Wed, 25 Jan 2012 15:40:06 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> +value under the default @dfn{dynamic binding} rules.  Under
>> address@hidden binding} rules, the value cell holds the variable's
>> address@hidden value}.  @xref{Variable Scoping}, for details.}.
>
> A locally scoped variable will normally always have a void value cell
> (there is no "global value" for them).

I was trying to refer to the fact that the value cell can be set and
retrieved separately:

(let ((x 2))
  (set 'x 1)
  (list x (symbol-value 'x)))
    ---> (2 1)

Do you think saying "dynamic value" instead would be clearer?  Or that
this should not be mentioned at all?



reply via email to

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