diff options
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xml.c b/src/xml.c index a38795cc245..c1098b15a20 100644 --- a/src/xml.c +++ b/src/xml.c @@ -109,7 +109,9 @@ parse_buffer (Lisp_Object string, Lisp_Object base_url, int htmlp) DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, 0, 2, 0, - doc: /* Parse the string as an HTML document and return the parse tree.*/) + doc: /* Parse the string as an HTML document and return the parse tree. +If BASE-URL is non-nil, it will be used to expand relative URLs in +the HTML document.*/) (Lisp_Object string, Lisp_Object base_url) { return parse_buffer (string, base_url, 1); @@ -117,7 +119,9 @@ DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, 0, 2, 0, - doc: /* Parse the string as an XML document and return the parse tree.*/) + doc: /* Parse the string as an XML document and return the parse tree. +If BASE-URL is non-nil, it will be used to expand relative URLs in +the XML document.*/) (Lisp_Object string, Lisp_Object base_url) { return parse_buffer (string, base_url, 0); |