[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should lexical-let use let in the situation lexical-binding is t ?
From: |
Stefan Monnier |
Subject: |
Re: Should lexical-let use let in the situation lexical-binding is t ? |
Date: |
Fri, 21 Sep 2012 17:18:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> By the way, isn't it possible to check if the symbol is declared as special
> or not by accessing declared_special field of the symbol?
Yes, if the variable has been defvar'd already. But not if the
variable's defvar is in the file we're compiling (and hence hasn't yet
been evaluated), in which case the var will be in
byte-compile-bound-variables instead
(cf. byte-compile-not-lexical-var-p).
Stefan
- Re: Should lexical-let use let in the situation lexical-binding is t ?, (continued)
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Richard Stallman, 2012/09/18
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Stefan Monnier, 2012/09/18
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Richard Stallman, 2012/09/19
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Stefan Monnier, 2012/09/19
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Sam Steingold, 2012/09/19
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Stefan Monnier, 2012/09/19
- Re: Should lexical-let use let in the situation lexical-binding is t ?, Sam Steingold, 2012/09/20
Re: Should lexical-let use let in the situation lexical-binding is t ?, Sam Steingold, 2012/09/18
Re: Should lexical-let use let in the situation lexical-binding is t ?, Tomohiro Matsuyama, 2012/09/21
- Re: Should lexical-let use let in the situation lexical-binding is t ?,
Stefan Monnier <=