Subject: bug#7056: 24.0.50; Spurious vars in C-h v completion

From: Stefan Monnier <[email-masked]>
Date: Sat, 25 Sep 2010 23:16:30 +0200

> I see this in Emacs 23.1 onwards, including latest bzr trunk.
> emacs -Q
> C-h v beg RET

> This pops up a *Help* buffer with the contents

>    beg is void as a variable.

>    Documentation:
>    Not documented as a variable.

> Similar for `end', `v', and `val'.  I think `v' and `val' come from
> let-bindings in describe-variable; not sure about `beg' and `end'.

> The call to completing-read in describe-variable should do something to
> filter out these false completions.

Yup.  We could wait for the lexbind branch to be merged, or we can switch
to using lexical-let in that code.

        Stefan