[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61179: lambda inside interactive form of around advice isn't a closu
From: |
Stefan Monnier |
Subject: |
bug#61179: lambda inside interactive form of around advice isn't a closure |
Date: |
Sat, 04 Feb 2023 11:26:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> A function used as an around advice may advise the advised function's
> interactive form, using (interactive (lambda (spec) ...)).
>
> Unfortunately this inner lambda expression is not turned into a closure
> as demonstrated by this simple example:
I installed a patch in `master` which should fix this problem, both for
the case where the code is interpreted and for the case where it is
byte-compiled.
Could you confirm that it works for you?
Stefan