summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/text.texi8
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 93bfcbbd6df..2963ffc9a60 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
2014-01-09 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
+ * text.texi (Parsing HTML/XML): Document `shr-insert-document'.
+
* strings.texi (Text Comparison): Document `string-suffix-p'.
2014-01-07 Glenn Morris <rgm@gnu.org>
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 7a20b6684d3..60cda8068bb 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4284,6 +4284,14 @@ A call to @code{libxml-parse-html-region} returns this:
@end example
@end defun
+@cindex rendering html
+@defun shr-insert-document dom
+This function renders the parsed HTML in @var{dom} into the current
+buffer. The argument @var{dom} should be a list as generated by
+@code{libxml-parse-html-region}. This function is, e.g., used by
+@ref{Top, EWW,, eww, The Emacs Web Wowser Manual}.
+@end defun
+
@cindex parsing xml
@defun libxml-parse-xml-region start end &optional base-url
This function is the same as @code{libxml-parse-html-region}, except