emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/command 064f146 1/2: Change command to interactive ... modes


From: Lars Ingebrigtsen
Subject: Re: scratch/command 064f146 1/2: Change command to interactive ... modes
Date: Wed, 17 Feb 2021 21:05:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefankangas@gmail.com> writes:

> Please find attached a patch.

Hm...  trying this out now, I don't think the compat macro solution
actually works.  That is, it works fine when byte-compiled, but not in
non-compiled code.  The reason for this is that `interactive-form' just
does a `Fassq' on the Lisp form and looks for the Qinteractive symbol.
Which is won't find if the symbol in `future-interactive'.

So I'm not sure a macro compat solution here can work.  I should have
caught this earlier, since I've been looking at `interactive-form' quite
a bit lately.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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