]> git.eshelyaron.com Git - emacs.git/commit
Make DISCARD-COMMENTS in `libxml-parse-{html,xml}-region' obsolete
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 15:14:01 +0000 (17:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 15:14:01 +0000 (17:14 +0200)
commite20d7381ee85611f9e1d1e6bef4fe2d7e2ae7780
tree9eb74901b854761d09426492e47de54f5e8e5ed4
parentdb71b3182778b66fad3865825777b06cc20b89a8
Make DISCARD-COMMENTS in `libxml-parse-{html,xml}-region' obsolete

* doc/lispref/text.texi (Parsing HTML/XML): Mention that
discard-comments is obsolete.

* lisp/xml.el (xml-remove-comments): New function (bug#27178).

* src/xml.c (Flibxml_parse_html_region): Clarify what
DISCARD-COMMENTS actually does, and say that the parameter is
obsolete.
(Flibxml_parse_xml_region): Ditto.
doc/lispref/text.texi
etc/NEWS
lisp/xml.el
src/xml.c