summaryrefslogtreecommitdiff
path: root/lisp/url
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2013-08-14 15:03:25 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2013-08-14 15:03:25 +0200
commit6c195442ea35de9b22cb5c1f4884f05b5ae92222 (patch)
treec4d1aa0e9c09fd5099f5bb913b028fbed450238d /lisp/url
parent71530c97bfa0a2527f6b99ab2bc00865bc8699f2 (diff)
downloademacs-6c195442ea35de9b22cb5c1f4884f05b5ae92222.tar.gz
* url-http.el (url-http-parse-headers): Always place point at the
start of the buffer instead of just 80% of the time.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog5
-rw-r--r--lisp/url/url-http.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 2346803c6bf..52a69690534 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -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
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 07049591cf0..7047e6b5f13 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -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 ()