help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: closure within closure, incorrect (?) byte-compiler warnings


From: Stefan Monnier
Subject: Re: closure within closure, incorrect (?) byte-compiler warnings
Date: Mon, 01 Nov 2021 08:31:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>   (let ((next 1))
>     (defun australian-survivor (ep)
>       (interactive (list (read-number prompt next)))

IIRC the current compiler code doesn't support this kind of "interactive
spec nested within a lexical scope".

Your code makes sense, but AFAIK it may not always work correctly :-(

You might want to `M-x report-emacs-bug` (and if so, please put me in
the `X-Debbugs-Cc:`).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]