[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 26faa2b943: Unify local variable initialisation in url-http
From: |
Lars Ingebrigtsen |
Subject: |
master 26faa2b943: Unify local variable initialisation in url-http |
Date: |
Mon, 18 Apr 2022 05:37:47 -0400 (EDT) |
branch: master
commit 26faa2b943675107e1664b2fea7174137c473475
Author: Nacho Barrientos <nacho.barrientos@cern.ch>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Unify local variable initialisation in url-http
* lisp/url/url-http.el (url-http-chunked-last-crlf-missing): Treat
url-http-chunked-last-crlf-missing as any other buffer variable by
declaring and initialising it the same way as the other related
ones (bug#54989).
Copyright-paperwork-exempt: yes
---
lisp/url/url-http.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 7f55866eec..b950a8994f 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -36,7 +36,7 @@
(defvar url-current-object)
(defvar url-http-after-change-function)
(defvar url-http-chunked-counter)
-(defvar url-http-chunked-last-crlf-missing nil)
+(defvar url-http-chunked-last-crlf-missing)
(defvar url-http-chunked-length)
(defvar url-http-chunked-start)
(defvar url-http-connection-opened)
@@ -1163,7 +1163,7 @@ the end of the document."
(progn
(url-http-debug
"Spinning for the terminator of last chunk...")
- (setq-local url-http-chunked-last-crlf-missing
+ (setq url-http-chunked-last-crlf-missing
(point)))
(url-http-debug "Removing terminator of last chunk")
(delete-region (match-beginning 0) (match-end 0))
@@ -1354,6 +1354,7 @@ The return value of this function is the retrieval
buffer."
url-http-after-change-function
url-http-response-version
url-http-response-status
+ url-http-chunked-last-crlf-missing
url-http-chunked-length
url-http-chunked-counter
url-http-chunked-start
@@ -1378,6 +1379,7 @@ The return value of this function is the retrieval
buffer."
url-http-noninteractive url-request-noninteractive
url-http-data url-request-data
url-http-process connection
+ url-http-chunked-last-crlf-missing nil
url-http-chunked-length nil
url-http-chunked-start nil
url-http-chunked-counter 0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 26faa2b943: Unify local variable initialisation in url-http,
Lars Ingebrigtsen <=