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
1e98674d
Commit
1e98674d
authored
Jul 20, 2011
by
Lars Magne Ingebrigtsen
Browse files
* xml.c (make_dom): Return comments, too.
parent
bfa4f190
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/xml.c
src/xml.c
+8
-0
No files found.
src/ChangeLog
View file @
1e98674d
2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
* xml.c (make_dom): Return comments, too.
2011-07-19 Paul Eggert <eggert@cs.ucla.edu>
Port to OpenBSD.
...
...
src/xml.c
View file @
1e98674d
...
...
@@ -71,6 +71,14 @@ make_dom (xmlNode *node)
else
return
Qnil
;
}
else
if
(
node
->
type
==
XML_COMMENT_NODE
)
{
if
(
node
->
content
)
return
list3
(
intern
(
"comment"
),
Qnil
,
build_string
((
char
*
)
node
->
content
));
else
return
Qnil
;
}
else
return
Qnil
;
}
...
...
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