diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-09-10 19:45:22 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-09-10 19:45:22 +0200 |
commit | 8b620f1169f1da4dd624a9f94c17cce897382682 (patch) | |
tree | 22fccba73c2591bb6ef3d7e385210251b1baf3a8 /src/xml.c | |
parent | 381408e2192b8fd606babaa8c9a103186589d708 (diff) | |
download | emacs-8b620f1169f1da4dd624a9f94c17cce897382682.tar.gz |
Remove some trailing white space.
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xml.c b/src/xml.c index 92066067d73..a38795cc245 100644 --- a/src/xml.c +++ b/src/xml.c @@ -62,7 +62,7 @@ Lisp_Object make_dom (xmlNode *node) if (node->content) content = build_string (node->content); - + return Fcons (intern (node->name), content); } else return Qnil; @@ -76,21 +76,21 @@ parse_buffer (Lisp_Object string, Lisp_Object base_url, int htmlp) Lisp_Object result; int ibeg, iend; char *burl = ""; - + LIBXML_TEST_VERSION; - + CHECK_STRING (string); if (! NILP (base_url)) { CHECK_STRING (base_url); burl = SDATA (base_url); } - + if (htmlp) doc = htmlReadMemory (SDATA (string), SBYTES (string), burl, "utf-8", HTML_PARSE_RECOVER|HTML_PARSE_NONET| HTML_PARSE_NOWARNING|HTML_PARSE_NOERROR); - else + else doc = xmlReadMemory (SDATA (string), SBYTES (string), burl, "utf-8", XML_PARSE_NONET|XML_PARSE_NOWARNING| XML_PARSE_NOERROR); @@ -99,11 +99,11 @@ parse_buffer (Lisp_Object string, Lisp_Object base_url, int htmlp) node = xmlDocGetRootElement (doc); if (node != NULL) result = make_dom (node); - + xmlFreeDoc (doc); xmlCleanupParser (); } - + return result; } |