From: Rüdiger Sonderfeld Date: Thu, 9 Jan 2014 23:21:56 +0000 (+0100) Subject: Document `shr-insert-document'. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9fb07a9e6c57d903d00cbcbf33c4f604d261b90c;p=emacs.git Document `shr-insert-document'. * doc/lispref/text.texi (Parsing HTML/XML): Document `shr-insert-document'. --- 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