emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

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