[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug] (defun foo) during compilation defines `foo' as 0-arg `igno re
Re: [Bug] (defun foo) during compilation defines `foo' as 0-arg `igno re'
Mon, 07 Apr 2003 21:55:07 +0200
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)
"Wedler, Christoph" <address@hidden> writes:
> [Test using Emacs-220.127.116.11.]
> If you evaluate (defun foo), you get the error
> (wrong-number-of-arguments #<subr defun> 1)
There has been talk about making (defun foo) behave analogously to
(defvar foo), but at the moment this is not so, AFAIK.
You can require the package where foo is defined.
In Tramp, I have the problem with compatibility code, and there I
fool the Lisp interpreter by doing (funcall 'foo ...), but that's
probably not the right approach.
A preposition is not a good thing to end a sentence with.