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

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

[elpa] externals/kiwix cb3e253 190/192: Merge pull request #2 from syohe


From: Stefan Monnier
Subject: [elpa] externals/kiwix cb3e253 190/192: Merge pull request #2 from syohex/syohex/warnings
Date: Sat, 19 Dec 2020 00:41:58 -0500 (EST)

branch: externals/kiwix
commit cb3e2531a55b896b9b41f38f97a597c26433da8e
Merge: 4bdf16b d92a371
Author: stardiviner <numbchild@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #2 from syohex/syohex/warnings
    
    Fix some byte-compile warnings
---
 kiwix.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/kiwix.el b/kiwix.el
index c533f57..9c2e3b5 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -38,6 +38,9 @@
 
 (require 'cl-lib)
 (require 'request)
+(require 'subr-x)
+(require 'thingatpt)
+(require 'json)
 (if (featurep 'ivy) (require 'ivy))
 
 (defgroup kiwix-mode nil
@@ -263,7 +266,7 @@ list and return a list result."
                       :sync t
                       :headers '(("Content-Type" . "application/json"))
                       :parser #'json-read
-                      :success (function*
+                      :success (cl-function
                                 (lambda (&key data &allow-other-keys)
                                   data)))))))
       (if (vectorp data)
@@ -282,7 +285,7 @@ for query string and library interactively."
       (progn
         (setq kiwix--selected-library (kiwix-select-library))
         (let* ((library kiwix--selected-library)
-               (query (case kiwix-default-completing-read
+               (query (cl-case kiwix-default-completing-read
                         ('helm
                          (helm :source (helm-build-async-source 
"kiwix-helm-search-hints"
                                          :candidates-process



reply via email to

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