From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: (html-parse-string &optional LISP-OBJECT STRING LISP-OBJECT BASE-URL) Date: Tue, 14 Sep 2010 00:33:24 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284420827 3011 80.91.229.12 (13 Sep 2010 23:33:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 23:33:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 01:33:46 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 1OvIWw-0005GM-6s for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 01:33:46 +0200 Original-Received: from localhost ([127.0.0.1]:43883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvIWv-0001QL-Ct for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 19:33:45 -0400 Original-Received: from [140.186.70.92] (port=43042 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvIWn-0001PS-3w for emacs-devel@gnu.org; Mon, 13 Sep 2010 19:33:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvIWm-0006RW-3Z for emacs-devel@gnu.org; Mon, 13 Sep 2010 19:33:37 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:39947) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvIWl-0006RB-QS for emacs-devel@gnu.org; Mon, 13 Sep 2010 19:33:36 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OvIWj-0005Cu-6z for emacs-devel@gnu.org; Tue, 14 Sep 2010 01:33:33 +0200 Original-Received: from cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com ([86.9.122.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 01:33:33 +0200 Original-Received: from sdl.web by cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 01:33:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) Cancel-Lock: sha1:OGkX7enXOv06pXTCJY+dQ3hBTqc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130106 Archived-At: When I looked at the doc string of html-parse-string, it includes LISP-OBJECT. Looks like the following trivial patch is needed. 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; { return parse_buffer (string, base_url, 1); } @@ -122,7 +123,8 @@ DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, doc: /* Parse the string as an XML document and return the parse tree. If BASE-URL is non-nil, it will be used to expand relative URLs in the XML document.*/) - (Lisp_Object string, Lisp_Object base_url) + (string, base_url) + Lisp_Object string, base_url; { return parse_buffer (string, base_url, 0); } Leo