aboutsummaryrefslogtreecommitdiffstats
path: root/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/xml.c b/src/xml.c
index 42059d77131..fa88040597d 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -271,7 +271,12 @@ DEFUN ("libxml-parse-html-region", Flibxml_parse_html_region,
271 2, 4, 0, 271 2, 4, 0,
272 doc: /* Parse the region as an HTML document and return the parse tree. 272 doc: /* Parse the region as an HTML document and return the parse tree.
273If BASE-URL is non-nil, it is used to expand relative URLs. 273If BASE-URL is non-nil, it is used to expand relative URLs.
274If DISCARD-COMMENTS is non-nil, all HTML comments are discarded. */) 274
275If DISCARD-COMMENTS is non-nil, the top-level HTML comment is discarded.
276
277This parameter is obsolete as of 27.1, and you should use the
278`xml-remove-comments' function to strip comments before calling
279this function if you don't want comments. */)
275 (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, Lisp_Object discard_comments) 280 (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, Lisp_Object discard_comments)
276{ 281{
277 if (init_libxml2_functions ()) 282 if (init_libxml2_functions ())
@@ -284,7 +289,12 @@ DEFUN ("libxml-parse-xml-region", Flibxml_parse_xml_region,
284 2, 4, 0, 289 2, 4, 0,
285 doc: /* Parse the region as an XML document and return the parse tree. 290 doc: /* Parse the region as an XML document and return the parse tree.
286If BASE-URL is non-nil, it is used to expand relative URLs. 291If BASE-URL is non-nil, it is used to expand relative URLs.
287If DISCARD-COMMENTS is non-nil, all HTML comments are discarded. */) 292
293If DISCARD-COMMENTS is non-nil, the top-level XML comment is discarded.
294
295This parameter is obsolete as of 27.1, and you should use the
296`xml-remove-comments' function to strip comments before calling
297this function if you don't want comments. */)
288 (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, Lisp_Object discard_comments) 298 (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, Lisp_Object discard_comments)
289{ 299{
290 if (init_libxml2_functions ()) 300 if (init_libxml2_functions ())