delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/17/13:17:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Path: not-for-mail
From: Dan Holmsand <dan AT eyebee DOT com>
Subject: Re: emacs error ad-Orig-documentation called with 5 arguments
Date: Fri, 17 Jan 2003 19:16:38 +0100
Lines: 25
Message-ID: <b09h96$9if$1@main.gmane.org>
References: <200301171742 DOT h0HHg7AF004679 AT wolf DOT cimsoft DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030115
X-Accept-Language: en-us, en
In-Reply-To: <200301171742.h0HHg7AF004679@wolf.cimsoft.com>

Robert Mecklenburg wrote:
> I'm getting the following error in the x-enabled version of cygwin
> emacs:  
> 
>   ** ad-Orig-documentation called with 5 arguments, but accepts only 1-2

I think the problem is with the original documentation function itself, 
not with advice.

M-x describe-function documentation yields

"documentation is a built-in function.
[Missing arglist.  Please make a bug report.]"

(as well as some garbage) in the x-enabled emacs 21.2-11, instead of

"documentation is a built-in function.
(documentation FUNCTION &optional RAW)"

as it should be (and is in emacs-nox and x-enabled emacs 21.2-9). I 
guess that advice is simply fooled by the erroneous arg-list that 
documentation reports.

/dan



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019