[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.
- Re: member returns list, (continued)
- Re: member returns list, Emanuel Berg, 2015/09/05
- member (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/01
- Message not available
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Barry Margolin, 2015/09/02
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/02
- Message not available
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Barry Margolin, 2015/09/02
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/02
- Message not available
- Re: member, Pascal J. Bourguignon, 2015/09/03
- Re: member, Emanuel Berg, 2015/09/03
Re: To `boundp' or not to `boundp'?, Stefan Monnier, 2015/09/01