diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-20 21:58:46 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-20 21:58:46 +0200 |
commit | 1e98674d93976b78c3459c58cadece9565c53da2 (patch) | |
tree | 24b468a876cf867299d00cc9156f2cfd7ffaff0c /src/xml.c | |
parent | bfa4f1909c8d7c22a235d04aa8798f2fb7f9c970 (diff) | |
download | emacs-1e98674d93976b78c3459c58cadece9565c53da2.tar.gz |
* xml.c (make_dom): Return comments, too.
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xml.c b/src/xml.c index 63041c96b24..6dd52638b7d 100644 --- a/src/xml.c +++ b/src/xml.c @@ -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; } |