Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1da70e99
Commit
1da70e99
authored
Sep 14, 2010
by
Andreas Schwab
Browse files
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change. Don't make first argument optional. Doc fix.
parent
ba96ddf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
src/ChangeLog
src/ChangeLog
+5
-0
src/xml.c
src/xml.c
+8
-10
No files found.
src/ChangeLog
View file @
1da70e99
2010-09-14 Andreas Schwab <schwab@linux-m68k.org>
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change. Don't make first argument optional. Doc fix.
2010-09-14 Leo <sdl.web@gmail.com> (tiny change)
* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the
...
...
src/xml.c
View file @
1da70e99
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment