[ESS] ESS 14.09 File mode specification error
Georg Otto
georg.otto at imm.ox.ac.uk
Sat Oct 18 15:16:37 CEST 2014
Thanks, Martin, for looking into this.
The result of the command
C-h f called-interactively-p
is a help window opening saying:
called-interactively-p is a built-in function in `C source code'.
(called-interactively-p)
Return t if the function using this was called with `call-interactively'.
This is used for implementing advice and other function-modifying
features of Emacs.
The cleanest way to test whether your function was called with
`call-interactively' is by adding an extra optional argument,
and making the `interactive' spec specify non-nil unconditionally
for that argument. (`p' is a good way to do this.)
On 18/10/2014 13:48, Martin Maechler wrote:
> Thank you Georg,
> it could be that indeed 23.1.1 is too old .. without us being aware of it.
> To confirm, could you also try and tell us the result of
>
> C-h f called-interactively-p
>
> ?
>
> On Sat, Oct 18, 2014 at 12:12 PM, Georg Otto <georg.otto at imm.ox.ac.uk> wrote:
>> Thanks for looking into this! My Emacs version is 23.1.1
>>
>> Georg
>>
>>
>>
>> On 17/10/2014 22:41, Vitalie Spinu wrote:
>>> >>> Georg Otto on Fri, 17 Oct 2014 14:18:57 +0100 wrote:
>>>
>>> > File mode specification error: (wrong-number-of-arguments
>>> > called-interactively-p 1)
>>>
>>> What version of emacs is this? I see 1 argument to
>>> called-interactively-p in Emacs 23.4.5.
>>>
>>> Vitalie
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
More information about the ESS-help
mailing list