From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: ding@gnus.org
Cc: larsi@gnus.org
Subject: [PATCH] shr.el: Fix function call to `shr-dom-to-xml'.
Date: Sun, 16 Jun 2013 17:14:19 +0200 [thread overview]
Message-ID: <6126546.BqQskQHohD@descartes> (raw)
In-Reply-To: <m3ehc2jg0t.fsf@stories.gnus.org>
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 function.
-- 8< ---------------------------------------------------------------->8 --
* lisp/shr.el (shr-dom-to-xml): Fixed function call.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
---
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
--
1.8.3.1
next prev parent reply other threads:[~2013-06-16 15:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 4:21 [PATCH] shr.el: Add support for SVG elements Rüdiger Sonderfeld
2013-06-16 14:18 ` Lars Magne Ingebrigtsen
2013-06-16 15:14 ` Rüdiger Sonderfeld [this message]
2013-06-16 15:31 ` [PATCH] shr.el: Fix function call to `shr-dom-to-xml' Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6126546.BqQskQHohD@descartes \
--to=ruediger@c-plusplus.de \
--cc=ding@gnus.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).