diff options
Diffstat (limited to 'src/xml.c')
| -rw-r--r-- | src/xml.c | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -109,7 +109,9 @@ parse_buffer (Lisp_Object string, Lisp_Object base_url, int htmlp) | |||
| 109 | 109 | ||
| 110 | DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, | 110 | DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, |
| 111 | 0, 2, 0, | 111 | 0, 2, 0, |
| 112 | doc: /* Parse the string as an HTML document and return the parse tree.*/) | 112 | doc: /* Parse the string as an HTML document and return the parse tree. |
| 113 | If BASE-URL is non-nil, it will be used to expand relative URLs in | ||
| 114 | the HTML document.*/) | ||
| 113 | (Lisp_Object string, Lisp_Object base_url) | 115 | (Lisp_Object string, Lisp_Object base_url) |
| 114 | { | 116 | { |
| 115 | return parse_buffer (string, base_url, 1); | 117 | return parse_buffer (string, base_url, 1); |
| @@ -117,7 +119,9 @@ DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, | |||
| 117 | 119 | ||
| 118 | DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, | 120 | DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, |
| 119 | 0, 2, 0, | 121 | 0, 2, 0, |
| 120 | doc: /* Parse the string as an XML document and return the parse tree.*/) | 122 | doc: /* Parse the string as an XML document and return the parse tree. |
| 123 | If BASE-URL is non-nil, it will be used to expand relative URLs in | ||
| 124 | the XML document.*/) | ||
| 121 | (Lisp_Object string, Lisp_Object base_url) | 125 | (Lisp_Object string, Lisp_Object base_url) |
| 122 | { | 126 | { |
| 123 | return parse_buffer (string, base_url, 0); | 127 | return parse_buffer (string, base_url, 0); |