[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 6bf78fb 02/13: improve kiwix-server-command custo
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 6bf78fb 02/13: improve kiwix-server-command custom option |
Date: |
Mon, 4 Jan 2021 01:12:49 -0500 (EST) |
branch: externals/kiwix
commit 6bf78fb35057ba494e04096d8c66ad376cc70eb6
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: stardiviner <numbchild@gmail.com>
improve kiwix-server-command custom option
---
kiwix.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 7321cb3..8c9c9dd 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -83,11 +83,11 @@
(defcustom kiwix-server-command
(cond
- ((string-equal system-type "gnu/linux")
- "/usr/lib/kiwix/bin/kiwix-serve ")
- ((string-equal system-type "darwin")
+ ((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."))
- ((string-equal system-type "windows-nt")
+ ((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 (9ab1437 -> 4f987d4), Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 6bf78fb 02/13: improve kiwix-server-command custom option,
Stefan Monnier <=
- [elpa] externals/kiwix aa97754 01/13: use-package :commands is not needed, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 8100281 04/13: highlight ivy and helm symbols in docstring, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 2e242cb 03/13: follow GNU convention rename "path" to "dir", Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix feb09b6 06/13: Fix directory files matching regexp, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 5356b31 09/13: Fix docker pull command's if logic, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 4f987d4 13/13: Disable GitHub Actions MELPA strict checker, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix a68a7f5 05/13: Fix commentary indent level, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 3b73980 12/13: Add Emacs built-in completing-read support, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 4110223 08/13: Explain function kiwix-server-url-update docstring, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix feda7b8 11/13: Fix use region detection, Stefan Monnier, 2021/01/04