[Top][All Lists]

[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

From: Kai Großjohann
Subject: Re: [Bug] (defun foo) during compilation defines `foo' as 0-arg `igno re'
Date: Mon, 07 Apr 2003 21:55:07 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

"Wedler, Christoph" <address@hidden> writes:

> [Test using Emacs-]
> 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.

reply via email to

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