Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: emacs error ad-Orig-documentation called with 5 arguments Date: Fri, 17 Jan 2003 19:16:38 +0100 Lines: 25 Message-ID: References: <200301171742 DOT h0HHg7AF004679 AT wolf DOT cimsoft DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/