[Top][All Lists]

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

Re: Brittleness of called-interactively-p

From: Andreas Röhler
Subject: Re: Brittleness of called-interactively-p
Date: Mon, 20 Jul 2015 14:22:23 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 18.07.2015 um 06:39 schrieb Dmitri Paduchikh:
Stefan Monnier <address@hidden> writes:

SM> (interactive-p) is 99.9% equivalent to (called-interactively-p
SM> 'interactive), including interactions with advice and whatnot.

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.

(called-interactively-p)                ; instead of 'interactive


reply via email to

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