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

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

[elpa] externals/kiwix dd02284 185/192: fix free variable `kiwix-respons


From: Stefan Monnier
Subject: [elpa] externals/kiwix dd02284 185/192: fix free variable `kiwix-response'
Date: Sat, 19 Dec 2020 00:41:57 -0500 (EST)

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

    fix free variable `kiwix-response'
---
 kiwix.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kiwix.el b/kiwix.el
index f773c37..c533f57 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -235,8 +235,7 @@ Like in function `kiwix-ajax-search-hints'.")
       :error (cl-function
               (lambda (&rest args &key error-thrown &allow-other-keys)
                 (setq kiwix-server-available? nil)
-                (when (string-equal (cdr (request-response-error-thrown 
kiwix-response))
-                                    "exited abnormally with code 7\n")
+                (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)



reply via email to

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