diff options
| author | Andreas Schwab | 2010-09-14 09:53:39 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2010-09-14 09:53:39 +0200 |
| commit | 1da70e9968e1db55b0b1e21452f7ccc5a704c13e (patch) | |
| tree | 9b2a9ab301a663a3c150c20d6cb749e3bf61eaa5 /src | |
| parent | ba96ddf511d4c853127d3432d17adb32626c8419 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xml.c | 18 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-09-14 Leo <sdl.web@gmail.com> (tiny change) | 6 | 2010-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 |
| @@ -108,23 +108,21 @@ parse_buffer (Lisp_Object string, Lisp_Object base_url, int htmlp) | |||
| 108 | } | 108 | } |
| 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 | 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. |
| 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 | (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 | ||
| 121 | DEFUN ("xml-parse-string", Fxml_parse_string, Sxml_parse_string, | 120 | DEFUN ("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. |
| 124 | If BASE-URL is non-nil, it will be used to expand relative URLs in | 123 | If BASE-URL is non-nil, it will be used to expand relative URLs in |
| 125 | the XML document.*/) | 124 | the 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 | } |