[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/with-url 8ff9bd5 5/8: Remove unused parameter
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/with-url 8ff9bd5 5/8: Remove unused parameter |
Date: |
Sun, 22 Jan 2017 00:29:33 +0000 (UTC) |
branch: scratch/with-url
commit 8ff9bd5c1b54a128d429c26e2c250707157863f6
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove unused parameter
---
lisp/url/with-url.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/url/with-url.el b/lisp/url/with-url.el
index d3a75b6..36de4cc 100644
--- a/lisp/url/with-url.el
+++ b/lisp/url/with-url.el
@@ -319,14 +319,14 @@ If given, return the value in BUFFER instead."
;; nor any chunked encoding, then we may have gotten the
;; complete document anyway.
(with-current-buffer (process-buffer process)
- (if (with-url--unexpected-early-close process)
+ (if (with-url--unexpected-early-close)
(with-url--process-reply process)
;; Nope, it's an error.
(with-url--callback
process (list 500 (format "Peer closed connection: %s"
(process-status process)))))))))))
-(defun with-url--unexpected-early-close (process)
+(defun with-url--unexpected-early-close ()
(goto-char (point-min))
(when-let ((header-end (re-search-forward "\r?\n\r?\n" nil t)))
(goto-char (point-min))
- [Emacs-diffs] scratch/with-url updated (f74e07b -> 9d2e1e3), Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url dbc317f 2/8: Fix syntax error in with-url rework, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 5bd8812 4/8: Make :wait case actually work., Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 495cb41 1/8: Handle the case where the peer drops connection with no Content-Length, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 3ee6d63 3/8: Rework for with-url, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 724b285 6/8: Always kill the buffer, even when ignoring errors, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url be65731 7/8: Allow specifying that redirects should not be followed, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 8ff9bd5 5/8: Remove unused parameter,
Lars Ingebrigtsen <=
- [Emacs-diffs] scratch/with-url 9d2e1e3 8/8: Increase timeouts not that progress is more ensured, Lars Ingebrigtsen, 2017/01/21