GNU bug report logs - #49116
28.0.50; Why `bound-and-true-p' is not working in lexical binding?

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sat, 19 Jun 2021 11:43:02 UTC

Severity: normal

Found in version 28.0.50

Done: Phil Sainty <psainty <at> orcon.net.nz>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 49116 <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 49116 <at> debbugs.gnu.org, bugs <at> gnu.support
Subject: Re: 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
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





This bug report was last modified 3 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.