[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interactive function at GNU Emacs startup
From: |
Mathias Dahl |
Subject: |
Re: interactive function at GNU Emacs startup |
Date: |
Thu, 13 Jul 2006 09:30:36 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Tassilo Horn <heimdall@uni-koblenz.de> writes:
>> In my .emacs I tried the following functions, to no avail:
>>
>> (load "~/foo-function.el")
>
> To execute `foo-function', simply do
>
> (foo-function)
Or maybe:
(call-interactively 'foo-function)
If the function is interactive AND requires an argument, you cannot
just call it in that way. You will get a wrong-number-of-arguments
error.