[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix ca03a65 01/18: use Docker server by default
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix ca03a65 01/18: use Docker server by default |
Date: |
Wed, 4 Aug 2021 18:28:08 -0400 (EDT) |
branch: externals/kiwix
commit ca03a65f3c107ea6010aec1cd08efba3c26af069
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
use Docker server by default
---
kiwix.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index c290cae..6b07ad6 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -67,7 +67,7 @@
"Kiwix customization options."
:group 'kiwix)
-(defcustom kiwix-server-use-docker nil
+(defcustom kiwix-server-use-docker t
"Using Docker container for kiwix-serve or not?"
:type 'boolean
:safe #'booleanp)
@@ -82,13 +82,14 @@
:type 'string)
(defcustom kiwix-server-command
- (cond
- ((file-executable-p "/usr/bin/kiwix-serve") "/usr/bin/kiwix-serve")
- ((eq system-type 'gnu/linux) "/usr/lib/kiwix/bin/kiwix-serve")
- ((eq system-type 'darwin)
- (warn "You need to specify Mac OS X Kiwix path. And send a PR to my
repo."))
- ((eq system-type 'windows-nt)
- (warn "You need to specify Windows Kiwix path. And send a PR to my
repo.")))
+ (when (null kiwix-server-use-docker)
+ (cond
+ ((file-executable-p "/usr/bin/kiwix-serve") "/usr/bin/kiwix-serve")
+ ((eq system-type 'gnu/linux) "/usr/lib/kiwix/bin/kiwix-serve")
+ ((eq system-type 'darwin)
+ (warn "You need to specify Mac OS X Kiwix path. And send a PR to my
repo."))
+ ((eq system-type 'windows-nt)
+ (warn "You need to specify Windows Kiwix path. And send a PR to my
repo."))))
"Specify kiwix server command."
:type 'string)
- [elpa] externals/kiwix updated (0c5e161 -> 71e770c), Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix c273429 06/18: refactor and remove the variable `kiwix--selected-library', Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix ca03a65 01/18: use Docker server by default,
Stefan Monnier <=
- [elpa] externals/kiwix c871bef 07/18: refactor function kiwix-at-point to separate into smaller functional functions, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 7e0b82c 04/18: refresh ZIM libraries list once-time per package loading, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 12e13c8 02/18: support remote Docker service, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 423f607 05/18: Concentrate all kiwix library dir variables into only one, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 716f3c4 12/18: Add condition to detect kiwix library path exist to fix GitHub Actions, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix e191c31 09/18: improve function kiwix-get-libraries to support remote Docker server, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 0ec84f3 03/18: use dynamic ZIM library path, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 3330d7e 08/18: Add extra library "elquery" for parsing HTTP query HTML result, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix a33c4a2 16/18: Fix kiwix-libraries variable not initialized by function kiwix-get-libraries, Stefan Monnier, 2021/08/04
- [elpa] externals/kiwix 0f85022 17/18: Add autoload cookies and improve docstring, Stefan Monnier, 2021/08/04