From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: (html-parse-string &optional LISP-OBJECT STRING LISP-OBJECT BASE-URL) Date: Tue, 14 Sep 2010 09:48:34 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284450531 27905 80.91.229.12 (14 Sep 2010 07:48:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 07:48:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 09:48:49 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvQFw-0008Ey-Fp for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 09:48:44 +0200 Original-Received: from localhost ([127.0.0.1]:60196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvQFv-00018Q-QB for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 03:48:43 -0400 Original-Received: from [140.186.70.92] (port=53418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvQFp-00018I-JC for emacs-devel@gnu.org; Tue, 14 Sep 2010 03:48:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvQFo-0000AH-Ah for emacs-devel@gnu.org; Tue, 14 Sep 2010 03:48:37 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:45726) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvQFo-0000AA-4F for emacs-devel@gnu.org; Tue, 14 Sep 2010 03:48:36 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F39E11C15CAC; Tue, 14 Sep 2010 09:48:34 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-96-113.dynamic.mnet-online.de [88.217.96.113]) by mail.mnet-online.de (Postfix) with ESMTP id B8BB11C000FB; Tue, 14 Sep 2010 09:48:34 +0200 (CEST) X-Yow: I'm continually AMAZED at th'breathtaking effects of WIND EROSION!! In-Reply-To: (Leo's message of "Tue, 14 Sep 2010 00:33:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130117 Archived-At: Leo writes: > When I looked at the doc string of html-parse-string, it includes > LISP-OBJECT. Looks like the following trivial patch is needed. Your make-docfile is outdated. > diff --git a/src/xml.c b/src/xml.c > index c1098b1..1087e50 100644 > --- a/src/xml.c > +++ b/src/xml.c > @@ -112,7 +112,8 @@ DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, > doc: /* Parse the string as an HTML document and return the parse tree. > If BASE-URL is non-nil, it will be used to expand relative URLs in > the HTML document.*/) > - (Lisp_Object string, Lisp_Object base_url) > + (string, base_url) > + Lisp_Object string, base_url; This is wrong. We don't use obsolete old-style function definitions any more. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."