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

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

[elpa] externals/kiwix 6c4d80a 136/192: fix `request' :error sentinel.


From: Stefan Monnier
Subject: [elpa] externals/kiwix 6c4d80a 136/192: fix `request' :error sentinel.
Date: Sat, 19 Dec 2020 00:41:48 -0500 (EST)

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

    fix `request' :error sentinel.
---
 kiwix.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiwix.el b/kiwix.el
index f706ee8..5a13694 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -194,8 +194,8 @@ for query string and library interactively."
            :parser (lambda () (libxml-parse-html-region (point-min) 
(point-max)))
            :success (function* (lambda (&key data &allow-other-keys)
                                  (setq kiwix-server-available? t)))
-           :error (lambda (&rest args &key error-thrown &allow-other-keys)
-                    (setq kiwix-server-available? nil)))
+           :error (function* (lambda (&rest args &key error-thrown 
&allow-other-keys)
+                               (setq kiwix-server-available? nil))))
   (if kiwix-server-available?
       (let* ((library (if (or kiwix-search-interactively interactively)
                           (kiwix-select-library)



reply via email to

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