aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2010-09-14 09:53:39 +0200
committerAndreas Schwab2010-09-14 09:53:39 +0200
commit1da70e9968e1db55b0b1e21452f7ccc5a704c13e (patch)
tree9b2a9ab301a663a3c150c20d6cb749e3bf61eaa5 /src
parentba96ddf511d4c853127d3432d17adb32626c8419 (diff)
downloademacs-1da70e9968e1db55b0b1e21452f7ccc5a704c13e.tar.gz
emacs-1da70e9968e1db55b0b1e21452f7ccc5a704c13e.zip
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change. Don't make first argument optional. Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xml.c18
2 files changed, 13 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f2dc725d045..fa0dfc79c5b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-09-14 Andreas Schwab <schwab@linux-m68k.org>
2
3 * xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
4 change. Don't make first argument optional. Doc fix.
5
12010-09-14 Leo <sdl.web@gmail.com> (tiny change) 62010-09-14 Leo <sdl.web@gmail.com> (tiny change)
2 7
3 * xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the 8 * xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the
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)
108} 108}
109 109
110DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string, 110DEFUN ("html-parse-string", Fhtml_parse_string, Shtml_parse_string,
111 0, 2, 0, 111 1, 2, 0,
112 doc: /* Parse the string as an HTML document and return the parse tree. 112 doc: /* Parse STRING as an HTML document and return the parse tree.
113If BASE-URL is non-nil, it will be used to expand relative URLs in 113If BASE-URL is non-nil, it will be used to expand relative URLs in
114the HTML document.*/) 114the HTML document. */)
115 (string, base_url) 115 (Lisp_Object string, Lisp_Object base_url)
116 Lisp_Object string, base_url;
117{ 116{
118 return parse_buffer (string, base_url, 1); 117 return parse_buffer (string, base_url, 1);
119} 118}
120 119
121DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, 120DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string,
122 0, 2, 0, 121 1, 2, 0,
123 doc: /* Parse the string as an XML document and return the parse tree. 122 doc: /* Parse STRING as an XML document and return the parse tree.
124If BASE-URL is non-nil, it will be used to expand relative URLs in 123If BASE-URL is non-nil, it will be used to expand relative URLs in
125the XML document.*/) 124the XML document. */)
126 (string, base_url) 125 (Lisp_Object string, Lisp_Object base_url)
127 Lisp_Object string, base_url;
128{ 126{
129 return parse_buffer (string, base_url, 0); 127 return parse_buffer (string, base_url, 0);
130} 128}