[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 516f512 006/192: update defcustom properties
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 516f512 006/192: update defcustom properties |
Date: |
Sat, 19 Dec 2020 00:41:22 -0500 (EST) |
branch: externals/kiwix
commit 516f5126c5eca4252f8fa0bba15b9ff99b43c7b6
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
update defcustom properties
---
kiwix-http.el | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/kiwix-http.el b/kiwix-http.el
index db57811..71f0688 100644
--- a/kiwix-http.el
+++ b/kiwix-http.el
@@ -8,12 +8,28 @@
;;; Code:
+(require 'cl-lib)
+
+;; FIXME:
+;; should use a standard where function to find path.
+;; you may can define a function instead or a constant holding the relative
path, then make use of it when needed.
(defcustom kiwix-search-command "/usr/lib/kiwix/bin/kiwix-search"
"The kiwix-search command path."
- :group 'kiwix)
+ :type 'string
+ :group 'kiwix
+ :safe 'stringp)
(defcustom kiwix-data-profile-path "~/.www.kiwix.org/kiwix/8ip89lik.default/"
"The kiwix profile data directory."
- :group 'kiwix)
+ :type 'string
+ :group 'kiwix
+ :safe 'stringp)
+
+;; TODO: replace `browse-url'
+(defcustom kiwix-browser-function 'browse-url-conkeror
+ "Specify browser function to open kiwix search result."
+ :type 'function
+ :group 'kiwix
+ :safe 'functionp)
(defvar kiwix-data-index-path nil)
- [elpa] branch externals/kiwix created (now 905a413), Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4dac833 003/192: use Org-mode format README, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 004193f 005/192: first working version, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 516f512 006/192: update defcustom properties,
Stefan Monnier <=
- [elpa] externals/kiwix 1521481 007/192: update functions, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4701ab9 001/192: Initial commit, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e49d830 002/192: temporary push a not working version., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e7edd5e 004/192: rename old kiwix.el to kiwix-http.el, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 06c466e 011/192: fix Kiwix query need to capitalized, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e54e80a 016/192: update function variables, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 06b5d36 027/192: Merge branch 'master' of github.com:stardiviner/kiwix.el, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 377f3fa 014/192: add package metadata, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d0da8cd 017/192: make package description clear, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix bd0fe09 018/192: setq-local depend on cl-lib, Stefan Monnier, 2020/12/19