From unknown Fri Aug 15 19:23:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24641: 26.0.50; let-alist: Incorrect byte-compile warning about unused lexical variable Resent-From: Philipp
$ cat /tmp/letalist.el
;; -*- lexical-binding: t; -*-
=C2=A0(let-alist '((outer . ((inner= . value))))
=C2=A0 =C2=A0(let-alist .outer .inn= er)))
$ emacs -Q -ba= tch -f batch-byte-compile /tmp/letalist.el
In toplevel form:
/tmp/le= talist.el:2:1:Warning: Unused lexical variable =E2=80=98\.inner=E2=80=99
This warning is incorr= ect because '.inner' is used in the inner
let-alist form.
= blockquote>I've attached a patch.=C2=A0
Philipp Stephani <p.stephani2@gmail.com> writes:
> <npostavs@users.sourceforge.net> schrieb am Sa.= , 8. Okt. 2016 um 16:34 Uhr:
>
>=C2=A0 Philipp Stephani <p.stephani2@gmail.com> writes: >
>=C2=A0 > I've attached a patch.
>
>=C2=A0 Looks good to me.
>
> Thanks, pushed to master.
The package version should probably get bumped, WDYT?