summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRüdiger Sonderfeld <ruediger@c-plusplus.de>2014-01-10 00:21:56 +0100
committerRüdiger Sonderfeld <ruediger@c-plusplus.de>2014-01-10 00:21:56 +0100
commit9fb07a9e6c57d903d00cbcbf33c4f604d261b90c (patch)
tree1cd8b9c99cb6c5430276920cffc1e08fe0ef4168 /doc
parent548a1b28ffcf20e21373e822ccc6cdc078eb42c1 (diff)
downloademacs-9fb07a9e6c57d903d00cbcbf33c4f604d261b90c.tar.gz
Document `shr-insert-document'.
* doc/lispref/text.texi (Parsing HTML/XML): Document `shr-insert-document'.
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