summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-09-14 09:53:39 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2010-09-14 09:53:39 +0200
commit1da70e9968e1db55b0b1e21452f7ccc5a704c13e (patch)
tree9b2a9ab301a663a3c150c20d6cb749e3bf61eaa5 /src/xml.c
parentba96ddf511d4c853127d3432d17adb32626c8419 (diff)
downloademacs-1da70e9968e1db55b0b1e21452f7ccc5a704c13e.tar.gz
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change. Don't make first argument optional. Doc fix.
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/xml.c b/src/xml.c
index 1087e504d5f..eb844950d05 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -108,23 +108,21 @@ 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.
+ 1, 2, 0,
+ doc: /* Parse 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.*/)
- (string, base_url)
- Lisp_Object string, base_url;
+the HTML document. */)
+ (Lisp_Object string, Lisp_Object base_url)
{
return parse_buffer (string, base_url, 1);
}
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.
+ 1, 2, 0,
+ doc: /* Parse 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.*/)
- (string, base_url)
- Lisp_Object string, base_url;
+the XML document. */)
+ (Lisp_Object string, Lisp_Object base_url)
{
return parse_buffer (string, base_url, 0);
}