help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: To `boundp' or not to `boundp'?


From: Michael Heerdegen
Subject: Re: To `boundp' or not to `boundp'?
Date: Wed, 02 Sep 2015 18:51:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Alexander Shukaev <haroogan@gmail.com> writes:

> I also see
>
> > Note that if `lexical-binding' is in effect, this refers to the
> > global value outside of any lexical scope.
>
> in the documentation of `boundp'.  Isn't it a big difference?

That's a difference.  But testing lexical variables for whether they are
bound is a rare use case (is it one at all?).  I mean, when you are
interested in the binding of a variable that might not be bound
(defined), that variable will typically be special, or not bound at all,
i.e., not lexically bound in any case.


Michael.




reply via email to

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