* url-http.el (url-http-parse-headers): Always place point at the
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 14 Aug 2013 13:03:25 +0000 (15:03 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 14 Aug 2013 13:03:25 +0000 (15:03 +0200)
start of the buffer instead of just 80% of the time.

lisp/url/ChangeLog
lisp/url/url-http.el

index 2346803..52a6969 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * url-http.el (url-http-parse-headers): Always place point at the
+       start of the buffer instead of just 80% of the time.
+
 2013-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * url-http.el (url-handle-content-transfer-encoding): Renamed
index 0704959..7047e6b 100644 (file)
@@ -855,6 +855,7 @@ should be shown to the user."
       (url-handle-content-transfer-encoding))
     (url-http-debug "Finished parsing HTTP headers: %S" success)
     (widen)
+    (goto-char (point-min))
     success))
 
 (defun url-handle-content-transfer-encoding ()