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: Dmitri Paduchikh
Subject: Re: Brittleness of called-interactively-p
Date: Sat, 18 Jul 2015 09:39:40 +0500
User-agent: Gnus/5.13 (Gnus v5.13)

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
(called-interactively-p 'ever)          ; instead of 'any

Just a side note.



reply via email to

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