[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical bin
From: |
Lars Ingebrigtsen |
Subject: |
bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding? |
Date: |
Sat, 19 Jun 2021 15:21:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Phil Sainty <psainty@orcon.net.nz> writes:
> It wouldn't hurt, and I see that `boundp' has such a note:
>
> "Note that if `lexical-binding' is in effect, this refers to the
> global value outside of any lexical scope."
>
> That same text could be used.
I've now copied over that text to the doc string of bound-and-true-p.
> If the confusion is over whether function arguments are dynamic
> or lexical then the doc change might not explain things, but it
> would probably hint at the source of the confusion.
Yup.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding?, Michael Heerdegen, 2021/06/22