[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 4b093e0 128/192: add autoload cookies for some ne
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 4b093e0 128/192: add autoload cookies for some necessary functions |
Date: |
Sat, 19 Dec 2020 00:41:46 -0500 (EST) |
branch: externals/kiwix
commit 4b093e074a6cd387bc6c84e999f3bbaca96ae09b
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
add autoload cookies for some necessary functions
---
kiwix.el | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index b44bb67..67d7efa 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -38,10 +38,7 @@
(require 'cl-lib)
-;;;###autoload
-(declare-function 'org-link-set-parameters "org")
(autoload 'org-link-set-parameters "org")
-(declare-function 'org-store-link-props "org")
(autoload 'org-store-link-props "org")
(defgroup kiwix-mode nil
@@ -77,7 +74,6 @@
:type 'string
:group 'kiwix-mode)
-;;;###autoload
(defun kiwix-dir-detect ()
"Detect Kiwix profile directory exist."
(let ((kiwix-dir (concat (getenv "HOME") "/.www.kiwix.org/kiwix")))
@@ -100,6 +96,11 @@
:type 'string
:group 'kiwix-mode)
+;;;###autoload
+(defun kiwix--get-library-name (file)
+ "Extract library name from library file."
+ (replace-regexp-in-string "\.zim" "" file))
+
(defvar kiwix-libraries
(when (kiwix-dir-detect)
(mapcar #'kiwix--get-library-name
@@ -107,10 +108,6 @@
(concat kiwix-default-data-path "/data/library/") nil ".*\.zim")))
"A list of Kiwix libraries.")
-(defun kiwix--get-library-name (file)
- "Extract library name from library file."
- (replace-regexp-in-string "\.zim" "" file))
-
;; - examples:
;; - "wikipedia_en_all" - "wikipedia_en_all_2016-02"
;; - "wikipedia_zh_all" - "wikipedia_zh_all_2015-17"
- [elpa] externals/kiwix 6e43812 102/192: fix void functions by adding autoload cookies., (continued)
- [elpa] externals/kiwix 6e43812 102/192: fix void functions by adding autoload cookies., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5aa6c3a 105/192: `string-empty-p` depends on (emacs "24.4"), Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 86dbead 107/192: add a helper function to detect kiwix profile directory accessible., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 44a44cb 110/192: autoload org related functions, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f7535e0 112/192: format code, remove dangling parentheses, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 183b133 114/192: update usage comments, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 658038e 113/192: fix kiwix libraries data structure duplicate when re-evaluate., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 30559cc 116/192: add option for specifying default library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix efcfd99 117/192: fix default libraries directory, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 39b96cb 119/192: let kiwix-launch-server support start Docker container, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4b093e0 128/192: add autoload cookies for some necessary functions,
Stefan Monnier <=
- [elpa] externals/kiwix c662f3d 129/192: roll the version to release, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5fbf5bc 141/192: use symbol under point or region text as initial input for Ivy, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d4d5ee0 149/192: Add an option for user to specify default browse-url function., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ca3f70b 150/192: fix URL construct part missing slash., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 885a6c5 166/192: set kiwix-serve not started no response error handling, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 33e8cbb 106/192: fix functions docstring., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix aea0901 125/192: simplify Org kiwix link select library logic, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 878b02b 131/192: remove autoload cookies for Org link commands, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 1861f27 134/192: replace simple url-retrieve-synchronously with library request.el, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 8d5e53c 138/192: add query string related wikipedia entries through kiwix AJAX instantly search, Stefan Monnier, 2020/12/19