summaryrefslogtreecommitdiff
path: root/lisp/gnus/shr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r--lisp/gnus/shr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index d4d8f7dd31e..969d893c2d4 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -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)