From: kai.grossjohann@gmx.net (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 [thread overview]
Message-ID: <84vfxq6q1w.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 67B8CED503F3D511BB9F0008C75DAD6605485564@dewdfx17
"Wedler, Christoph" <christoph.wedler@sap.com> writes:
> [Test using Emacs-21.2.95.1.]
>
> 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.
next prev parent reply other threads:[~2003-04-07 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 17:27 [Bug] (defun foo) during compilation defines `foo' as 0-arg `igno re' Wedler, Christoph
2003-04-07 19:55 ` Kai Großjohann [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-08 17:57 [Bug] (defun foo) during compilation defines `foo' as 0-arg ` igno re' Wedler, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84vfxq6q1w.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.