aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRüdiger Sonderfeld2014-01-10 00:21:56 +0100
committerRüdiger Sonderfeld2014-01-10 00:21:56 +0100
commit9fb07a9e6c57d903d00cbcbf33c4f604d261b90c (patch)
tree1cd8b9c99cb6c5430276920cffc1e08fe0ef4168
parent548a1b28ffcf20e21373e822ccc6cdc078eb42c1 (diff)
downloademacs-9fb07a9e6c57d903d00cbcbf33c4f604d261b90c.tar.gz
emacs-9fb07a9e6c57d903d00cbcbf33c4f604d261b90c.zip
Document `shr-insert-document'.
* doc/lispref/text.texi (Parsing HTML/XML): Document `shr-insert-document'.
-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 @@
12014-01-09 Rüdiger Sonderfeld <ruediger@c-plusplus.de> 12014-01-09 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2 2
3 * text.texi (Parsing HTML/XML): Document `shr-insert-document'.
4
3 * strings.texi (Text Comparison): Document `string-suffix-p'. 5 * strings.texi (Text Comparison): Document `string-suffix-p'.
4 6
52014-01-07 Glenn Morris <rgm@gnu.org> 72014-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:
4284@end example 4284@end example
4285@end defun 4285@end defun
4286 4286
4287@cindex rendering html
4288@defun shr-insert-document dom
4289This function renders the parsed HTML in @var{dom} into the current
4290buffer. The argument @var{dom} should be a list as generated by
4291@code{libxml-parse-html-region}. This function is, e.g., used by
4292@ref{Top, EWW,, eww, The Emacs Web Wowser Manual}.
4293@end defun
4294
4287@cindex parsing xml 4295@cindex parsing xml
4288@defun libxml-parse-xml-region start end &optional base-url 4296@defun libxml-parse-xml-region start end &optional base-url
4289This function is the same as @code{libxml-parse-html-region}, except 4297This function is the same as @code{libxml-parse-html-region}, except