From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83336 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] shr.el: Fix function call to `shr-dom-to-xml'. Date: Sun, 16 Jun 2013 17:14:19 +0200 Message-ID: <6126546.BqQskQHohD@descartes> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371395750 6529 80.91.229.3 (16 Jun 2013 15:15:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Jun 2013 15:15:50 +0000 (UTC) Cc: larsi@gnus.org To: ding@gnus.org Original-X-From: ding-owner+M31602@lists.math.uh.edu Sun Jun 16 17:15:49 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UoEgG-0007US-U3 for ding-account@gmane.org; Sun, 16 Jun 2013 17:15:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UoEfC-0007n5-0l; Sun, 16 Jun 2013 10:14:42 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UoEfA-0007mr-Do for ding@lists.math.uh.edu; Sun, 16 Jun 2013 10:14:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UoEf9-0007Vx-0k for ding@lists.math.uh.edu; Sun, 16 Jun 2013 10:14:40 -0500 Original-Received: from ptmx.org ([178.63.28.110]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UoEf7-0004pE-6T; Sun, 16 Jun 2013 17:14:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id BB89F2125C; Sun, 16 Jun 2013 17:14:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pAotdVRAOE3E; Sun, 16 Jun 2013 17:14:35 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 1C5BD213BE; Sun, 16 Jun 2013 17:14:34 +0200 (CEST) User-Agent: KMail/4.10.3 (Linux/3.8.0-23-generic; KDE/4.10.3; x86_64; ; ) In-Reply-To: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83336 Archived-At: Sorry forgot to change all function calls when I renamed it. btw. do you use ert/unit testing? I also have a test case for the func= tion. -- 8< ---------------------------------------------------------------->= 8 -- * lisp/shr.el (shr-dom-to-xml): Fixed function call. Signed-off-by: R=C3=BCdiger Sonderfeld --- lisp/shr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/shr.el b/lisp/shr.el index 7f79e1a..fae1742 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -920,7 +920,7 @@ (defun shr-dom-to-xml (dom) (dolist (sub (cdr dom)) (cond ((listp (cdr sub)) - (setq text (concat text (dom-to-text sub)))) + (setq text (concat text (shr-dom-to-xml sub)))) ((eq (car sub) 'text) (setq text (concat text (cdr sub)))) (t --=20 1.8.3.1