On Thu, 2023-02-02 at 11:04 -0500, Stefan Monnier wrote: > > Alternatively, we could define a macro, store its expanded form in > > a > > variable and run it through `cconv-closure-convert`, checking > > afterwards whether the original value changed or not. It feels a > > little > > more reliable, but writing it might be a little tricky. > > I was thinking of doing something like: > >     (let ((f '(lambda () (interactive ...) ...))) >       (should (equal f >                      (let ((fc (copy-tree f))) >                        (byte-compile fc) >                        fc)))) > > > -- Stefan > I wrote a variant of this that specifically calls `cconv-closure- convert`, and checks if the interactive spec has been modified, using `eq`. It fails on master, and passes with the patch installed. -- Vibhav Pant vibhavp@gmail.com GPG: 7ED1 D48C 513C A024 BE3A 785F E3FB 28CB 6AB5 9598