emacs-diffs
[Top][All Lists]
Advanced

[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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]