Subject: Re: bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding?

From: Phil Sainty <[email-masked]>
Date: Sun, 20 Jun 2021 01:13:22 +1200

On 2021-06-20 00:54, Eli Zaretskii wrote:
> Should this be mentioned in the doc string of bound-and-true-p?

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.

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.

-Phil