emacs-devel
[Top][All Lists]
Advanced

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

Re: Making `interactive' conditional


From: Stefan Monnier
Subject: Re: Making `interactive' conditional
Date: Mon, 11 Jan 2016 01:19:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Right now, functions are interactive if declared with `interactive', and not
> otherwise.  The suggestion at hand is to allow `interactive' forms to become
> conditional -- possibly in multiple ways. I like this concept, and think the
> right place for it is indeed in core.

Note that it turns `commandp' from a pure function to an impure one.

I think that pretending that "foo" is not interactive just because you're
not in the right context is going too far.


        Stefan




reply via email to

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