[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix d92a371 189/192: Fix some byte-compile warnings
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix d92a371 189/192: Fix some byte-compile warnings |
Date: |
Sat, 19 Dec 2020 00:41:58 -0500 (EST) |
branch: externals/kiwix
commit d92a371c9f44ae9747d880130dcaa7e264919e4f
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: Shohei YOSHIDA <syohex@gmail.com>
Fix some byte-compile warnings
- Use cl-lib macros instead of cl.el ones
- Load libraries for using those functions
---
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
- [elpa] externals/kiwix f4a1e2d 164/192: rename function* -> cl-function, (continued)
- [elpa] externals/kiwix f4a1e2d 164/192: rename function* -> cl-function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix cf6fc32 165/192: add :status-code handler, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 3fe879f 168/192: refresh libraries before selecting library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 716c5f6 169/192: Docker container launch command use library.xml index file, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix cd95bc9 171/192: update README: using libraries index file "library.xml", Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 9db0a13 172/192: display screenshots at beginning, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5f64044 175/192: support detect whether query is chinese, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6c6c443 176/192: fix Org link open function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 7fda411 184/192: fix org-link-set-parameters functions not available when Org not loaded, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5bd84a6 187/192: select kiwix library when completing org link, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d92a371 189/192: Fix some byte-compile warnings,
Stefan Monnier <=
- [elpa] externals/kiwix 905a413 192/192: Fix #4 add GNU license info in package source code file, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 2d33910 072/192: Merge tag 'v0.5.0' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix bf128fb 087/192: Merge branch 'hotfix/void-function_org-link-set-parameters', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f3a2d8f 091/192: Merge branch 'release/0.6.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f84b449 070/192: autoload Org-mode link adding, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 3485131 071/192: Merge branch 'develop', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 21b5dfe 073/192: fix variable invalid for autoload kiwix, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f86cb0d 075/192: Merge tag 'v0.5.1' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 33d6608 076/192: org-mode wiki: link store function solved., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 9d16244 082/192: Merge tag 'v0.5.2' into develop, Stefan Monnier, 2020/12/19