branch: externals/kiwix commit f8f8f6575eac477343e64ea5190c92807611fb9f Author: stardiviner <numbch...@gmail.com> Commit: stardiviner <numbch...@gmail.com>
declare helm, ivy functions to fix byte-compiler warnings --- kiwix.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kiwix.el b/kiwix.el index ee317f7..a0956a0 100644 --- a/kiwix.el +++ b/kiwix.el @@ -59,6 +59,11 @@ (require 'thingatpt) (require 'json) +(declare-function helm "helm") +(declare-function helm-build-async-source "helm") +(declare-function ivy-read "ivy") + + (defgroup kiwix-mode nil "Kiwix customization options." :group 'kiwix-mode) @@ -134,10 +139,6 @@ Currently Ivy ('ivy) and Helm ('helm) both supported." (const :tag "xwidget browser" xwidget-webkit-browse-url)) :safe #'symbolp) -(declare-function helm "helm") -(declare-function helm-build-async-source "helm") -(declare-function ivy-read "ivy") - (defun kiwix--get-library-name (file) "Extract library name from library file." (replace-regexp-in-string "\\.zim\\'" "" file))