Mercurial > emacs
comparison src/xml.c @ 110328:5c41eafe6021
* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the parameters
for the doc string.
From Leo <sdl.web@gmail.com> (tiny change)
| author | Lars Magne Ingebrigtsen <larsi@gnus.org> |
|---|---|
| date | Tue, 14 Sep 2010 02:08:02 +0200 |
| parents | 5988195cbf4c |
| children | 7363111f3713 |
comparison
equal
deleted
inserted
replaced
| 110327:56a27fafe17c | 110328:5c41eafe6021 |
|---|---|
| 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 | 113 If BASE-URL is non-nil, it will be used to expand relative URLs in |
| 114 the HTML document.*/) | 114 the HTML document.*/) |
| 115 (Lisp_Object string, Lisp_Object base_url) | 115 (string, base_url) |
| 116 Lisp_Object string, base_url; | |
| 116 { | 117 { |
| 117 return parse_buffer (string, base_url, 1); | 118 return parse_buffer (string, base_url, 1); |
| 118 } | 119 } |
| 119 | 120 |
| 120 DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, | 121 DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, |
| 121 0, 2, 0, | 122 0, 2, 0, |
| 122 doc: /* Parse the string as an XML document and return the parse tree. | 123 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 If BASE-URL is non-nil, it will be used to expand relative URLs in |
| 124 the XML document.*/) | 125 the XML document.*/) |
| 125 (Lisp_Object string, Lisp_Object base_url) | 126 (string, base_url) |
| 127 Lisp_Object string, base_url; | |
| 126 { | 128 { |
| 127 return parse_buffer (string, base_url, 0); | 129 return parse_buffer (string, base_url, 0); |
| 128 } | 130 } |
| 129 | 131 |
| 130 | 132 |
