]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 2346803c6bf22ea50b5d052411a19aea471b3716..52a69690534e75128bb0d1eb720623dfc5145321 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 07049591cf0c99d975b4715b30598b2140a6419d..7047e6b5f13ee33eb57ef7b08e5b6e774e3cc1b5 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 ()