emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106819: shr.el (shr-visit-file): Mov


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106819: shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering.
Date: Sat, 07 Jan 2012 11:46:47 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106819
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Sat 2012-01-07 11:46:47 +0000
message:
  shr.el (shr-visit-file): Move point to the beginning of the buffer after 
rendering.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2012-01-07 04:52:56 +0000
+++ b/lisp/gnus/ChangeLog       2012-01-07 11:46:47 +0000
@@ -1,5 +1,10 @@
 2012-01-07  Lars Magne Ingebrigtsen  <address@hidden>
 
+       * shr.el (shr-visit-file): Move point to the beginning of the buffer
+       after rendering.
+
+2012-01-07  Lars Magne Ingebrigtsen  <address@hidden>
+
        * gnus-sum.el (gnus-summary-read-group): Document more parameters
        (bug#9693).
        (gnus-summary-setup-buffer): Document return value (bug#9697).

=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el  2012-01-04 10:49:38 +0000
+++ b/lisp/gnus/shr.el  2012-01-07 11:46:47 +0000
@@ -134,7 +134,8 @@
   (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]