emacs-devel
[Top][All Lists]
Advanced

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

Re: Brittleness of called-interactively-p


From: Stefan Monnier
Subject: Re: Brittleness of called-interactively-p
Date: Mon, 20 Jul 2015 18:23:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> By the way, the interface of called-interactively-p seems somewhat
> non-intuitive. Since calling it with 'interactive is intended to replace
> `(interactive-p)' it would be more convenient to make `kind' an optional
> argument having the default meaning of 'interactive.

That would defeat the whole purpose (which is to force the author
to make a choice between the two kinds, rather than to use one without
knowing that there's a choice).


        Stefan



reply via email to

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