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: Sun, 12 Jul 2015 20:17:17 +0500
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Monnier <address@hidden> writes:

>> I would like to make a suggestion. All these problems can be resolved by
>> introducing a special (dynamically bound) variable. Each call -- not only
>> interactive -- to an interactive function would rebind it to the value
>> providing all the necessary information about interactiveness of this call.

SM> That's pretty much what we do.

No. Currently, called-interactively-p "returns t if the containing function
was called by `call-interactively'." I argue that functions not having
interactive form should not have effect on return value.



reply via email to

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