emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/url-scgi efd8de5ec8 09/48: url-scgi: fix compile time w


From: ELPA Syncer
Subject: [elpa] externals/url-scgi efd8de5ec8 09/48: url-scgi: fix compile time warning
Date: Fri, 28 Oct 2022 22:58:29 -0400 (EDT)

branch: externals/url-scgi
commit efd8de5ec892bf66f63314f91cfcbbcb40d4c66f
Author: Stefan Kangas <skangas@skangas.se>
Commit: Stefan Kangas <skangas@skangas.se>

    url-scgi: fix compile time warning
---
 url-scgi.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 55c2fae60f..9f3b57d955 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -37,7 +37,7 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))
+(require 'url-parse)
 
 (defvar url-scgi-version "0.3"
   "The version of scgi that you're using.")
@@ -85,7 +85,8 @@
   (check-type url vector "Need a pre-parsed URL.")
   (declare (special url-scgi-connection-opened
                    url-callback-function
-                   url-callback-arguments))
+                    url-callback-arguments
+                    url-current-object))
 
   (let* ((host (url-host url))
          (port (url-port url))
@@ -137,7 +138,8 @@
 (defun url-scgi-async-sentinel (proc why)
   ;; We are performing an asynchronous connection, and a status change
   ;; has occurred.
-  (declare (special url-callback-arguments))
+  (declare (special url-callback-arguments
+                    url-current-object))
   (with-current-buffer (process-buffer proc)
     (cond
      (url-scgi-connection-opened



reply via email to

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