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

[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: Phil Sainty
Subject: bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding?
Date: Sun, 20 Jun 2021 01:13:22 +1200
User-agent: Orcon Webmail

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






reply via email to

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