[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix d4fbf7b 052/192: define function ahead
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix d4fbf7b 052/192: define function ahead |
Date: |
Sat, 19 Dec 2020 00:41:31 -0500 (EST) |
branch: externals/kiwix
commit d4fbf7b45ac1809e379f75a9d539cf2a3c2c0db4
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
define function ahead
---
kiwix.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index a177428..1979861 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -103,6 +103,15 @@
(kiwix-construct-libraries-abbrev-alist kiwix-libraries)
"Alist of Kiwix libraries with name and full name.")
+(defun kiwix-select-library-name ()
+ "Select Wikipedia library name abbrev."
+ (completing-read "Wikipedia library abbrev: "
+ (map-keys kiwix-libraries-abbrev-alist)))
+
+(defun kiwix-get-library-fullname (abbr)
+ "Get Kiwix library full name which is associated with `ABBR'."
+ (cdr (assoc abbr kiwix-libraries-abbrev-alist)))
+
(defcustom kiwix-default-library "wikipedia_en"
"The default kiwix library when library fragment in link not specified.")
@@ -122,15 +131,6 @@
;; (kiwix-get-library-fullname "en")
;; (kiwix-get-library-fullname "zh")
-(defun kiwix-select-library-name ()
- "Select Wikipedia library name abbrev."
- (completing-read "Wikipedia library abbrev: "
- (map-keys kiwix-libraries-abbrev-alist)))
-
-(defun kiwix-get-library-fullname (abbr)
- "Get Kiwix library full name which is associated with `ABBR'."
- (cdr (assoc abbr kiwix-libraries-abbrev-alist)))
-
(defcustom kiwix-search-interactively t
"`kiwix-at-point' search interactively."
:type 'boolean
- [elpa] externals/kiwix f43e006 028/192: add Kiwix installation commentary, (continued)
- [elpa] externals/kiwix f43e006 028/192: add Kiwix installation commentary, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e527614 032/192: Merge branch 'release/v0.2.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 00c5a17 033/192: Merge tag 'v0.2.1' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 164cf9c 034/192: disable Wikipedia_Local link abbrev, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix c3e2d85 038/192: fix query is chinese string issue, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix c5df1ac 042/192: Merge branch 'release/v0.3.0', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix fb92b4f 043/192: Merge tag 'v0.3.0' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 1ddddc1 044/192: improve library fragment, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix b84a5ff 047/192: Merge branch 'release/v0.4.0', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 19bfe4f 051/192: add an option to let kiwix-at-point search interactively, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d4fbf7b 052/192: define function ahead,
Stefan Monnier <=
- [elpa] externals/kiwix f1554ba 054/192: fix some default library abbr name., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4968e3d 055/192: error when query is invalid., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 1b9f25b 056/192: add interactively called function., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 2e2d64d 059/192: Merge tag 'v0.4.3' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 8855ac4 060/192: delete deprecated source code files., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix fb83985 062/192: Merge branch 'master' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 45cc8ef 067/192: add some links test., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d9bab20 074/192: Merge branch 'release/v0.5.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ea54acf 080/192: extract get org-mode link library to a single function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 49fdf02 079/192: add custom option for specifying your native language library, Stefan Monnier, 2020/12/19