From 9fb07a9e6c57d903d00cbcbf33c4f604d261b90c Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=BCdiger=20Sonderfeld?= Date: Fri, 10 Jan 2014 00:21:56 +0100 Subject: [PATCH] Document `shr-insert-document'. * doc/lispref/text.texi (Parsing HTML/XML): Document `shr-insert-document'. --- doc/lispref/ChangeLog | 2 ++ doc/lispref/text.texi | 8 ++++++++ 2 files changed, 10 insertions(+) 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 + * text.texi (Parsing HTML/XML): Document `shr-insert-document'. + * strings.texi (Text Comparison): Document `string-suffix-p'. 2014-01-07 Glenn Morris 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 -- 2.39.5