shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering.

This commit is contained in:
Lars Magne Ingebrigtsen 2012-01-07 11:46:47 +00:00 committed by Katsumi Yamaoka
parent 069d2b5070
commit edd9679c37
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-visit-file): Move point to the beginning of the buffer
after rendering.
2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-summary-read-group): Document more parameters

View file

@ -134,7 +134,8 @@ cid: URL as the argument.")
(shr-insert-document
(with-temp-buffer
(insert-file-contents file)
(libxml-parse-html-region (point-min) (point-max)))))
(libxml-parse-html-region (point-min) (point-max))))
(goto-char (point-min)))
;;;###autoload
(defun shr-insert-document (dom)