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

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

bug#54802: OClosure: Make `interactive-form` a generic function


From: Eli Zaretskii
Subject: bug#54802: OClosure: Make `interactive-form` a generic function
Date: Sun, 12 Jun 2022 08:34:32 +0300

> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Cc: Eli Zaretskii <eliz@gnu.org>,  54802@debbugs.gnu.org
> Date: Sun, 12 Jun 2022 00:24:48 +0300
> 
> > Why is it now an error for functions to have an interactive-form
> > property?  The Elisp manual is careful to describe this practice as
> > unusual, but nevertheless supported, e.g. in cases such as:
> >
> > 0. emacs -Q -f toggle-debug-on-error
> > 1. (progn
> >      (defun my-foo (&rest _))
> >      (function-put 'my-foo 'interactive-form
> >                    (interactive-form 'ignore)))
> > 2. C-x C-e
> > 3. M-x C-i
> >
> > Debugger entered--Lisp error: (error "Found an ’interactive-form’ 
> > property!")
> >   commandp(my-foo)
> >   [...]
> 
> In the meantime should I reopen this bug or report a new one, so this
> isn't forgotten about?

Yes, please.  A new bug is probably better.





reply via email to

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