]> git.eshelyaron.com Git - emacs.git/commit
'libxml-parse(html|xml)-region': new optional param 'discard-comments'.
authorUlf Jasper <ulf.jasper@web.de>
Fri, 21 Nov 2014 15:31:30 +0000 (16:31 +0100)
committerUlf Jasper <ulf.jasper@web.de>
Fri, 21 Nov 2014 15:31:30 +0000 (16:31 +0100)
commitc39443c1d651bab2eb023f4c38db418c3dc04160
tree6266035bf6e6f261440caa4bf5a6d3aafcc43b10
parente14c4354cf29fab12fb414c7ebc94bf1a9920dd0
'libxml-parse(html|xml)-region': new optional param 'discard-comments'.

* doc/lispref/text.texi (Parsing HTML/XML): Document new optional parameter
'discard-comments' of 'libxml-parse(html|xml)-region'.

* src/xml.c (parse_region): Take care of new optional parameter
'discard-comments' of 'libxml-parse(html|xml)-region'.
(Flibxml_parse_html_region, Flibxml_parse_xml_region): New
optional parameter 'discard-comments'.

* test/automated/libxml-tests.el
(libxml-tests--data-comments-preserved): Renamed from
'libxml-tests--data'.
(libxml-tests--data-comments-discarded): New.
(libxml-tests): Check whether 'libxml-parse-xml-region' is
discarding comments correctly.
doc/lispref/ChangeLog
doc/lispref/text.texi
src/ChangeLog
src/xml.c
test/ChangeLog
test/automated/libxml-tests.el