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 | 3fbc249ca51088fbeaae13585526c194cbdd2d79 (patch) | |
tree | a35d8f91d1a23127cb7a6ce662d7deef11129178 /src/xml.c | |
parent | 14a275ae272e58f3c169f0823467b66ebcb3e178 (diff) | |
download | emacs-3fbc249ca51088fbeaae13585526c194cbdd2d79.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; } |