* shr.el (shr-insert-document): Add doc string.
(shr-visit-file): Ditto.
+2012-02-07 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * shr.el (shr-insert-document): Add doc string.
+ (shr-visit-file): Ditto.
+
2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-summary-exit-no-update): Really deaden the summary
;; Public functions and commands.
(defun shr-visit-file (file)
+ "Parse FILE as an HTML document, and render it in a new buffer."
(interactive "fHTML file name: ")
(pop-to-buffer "*html*")
(erase-buffer)
;;;###autoload
(defun shr-insert-document (dom)
+ "Render the parsed document DOM into the current buffer.
+DOM should be a parse tree as generated by
+`libxml-parse-html-region' or similar."
(setq shr-content-cache nil)
(let ((shr-state nil)
(shr-start nil)