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

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

[elpa] externals/kiwix 7288594 3/5: argument "data" is unused


From: Stefan Monnier
Subject: [elpa] externals/kiwix 7288594 3/5: argument "data" is unused
Date: Sat, 19 Dec 2020 11:21:31 -0500 (EST)

branch: externals/kiwix
commit 7288594e56c6ccbc368ea1f011a94de7c79b417e
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    argument "data" is unused
---
 kiwix.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiwix.el b/kiwix.el
index 2e4df66..c61cc6b 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -258,7 +258,7 @@ Like in function `kiwix-ajax-search-hints'.")
                 (when (string-equal (cdr error-thrown) "exited abnormally with 
code 7\n")
                   (warn "kiwix.el failed to connect to host. exited abnormally 
with status code: 7."))))
       :success (cl-function
-                (lambda (&key data &allow-other-keys)
+                (lambda (&key _data &allow-other-keys)
                   (setq kiwix-server-available? t)))
       :status-code '((404 . (lambda (&rest _) (message (format "Endpoint %s 
does not exist." url))))
                      (500 . (lambda (&rest _) (message (format "Error from  
%s." url))))))))



reply via email to

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