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
9abd0532
Commit
9abd0532
authored
Jul 20, 2011
by
Lars Magne Ingebrigtsen
Browse files
* xml.c (parse_region): Make sure we always return a tree.
parent
36881d16
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/xml.c
src/xml.c
+2
-1
No files found.
src/ChangeLog
View file @
9abd0532
2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
* xml.c (parse_region): Make sure we always return a tree.
2011-07-20 HAMANO Kiyoto <khiker.mail@gmail.com>
* xml.c (parse_region): If a document contains only comments,
...
...
src/xml.c
View file @
9abd0532
...
...
@@ -138,7 +138,8 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html
if
(
result
==
Qnil
)
result
=
r
;
else
result
=
Fnreverse
(
Fcons
(
r
,
result
));
result
=
Fcons
(
intern
(
"top"
),
Fcons
(
Qnil
,
Fnreverse
(
Fcons
(
r
,
result
))));
xmlFreeDoc
(
doc
);
xmlCleanupParser
();
...
...
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