[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 6d09e10 109/192: remove dangling parenthesis
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 6d09e10 109/192: remove dangling parenthesis |
Date: |
Sat, 19 Dec 2020 00:41:43 -0500 (EST) |
branch: externals/kiwix
commit 6d09e100ea2f4c510acf039199b4869539e7b270
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
remove dangling parenthesis
---
kiwix.el | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 1b54fe6..c6439f4 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -77,8 +77,7 @@
(concat
(getenv "HOME") "/.www.kiwix.org/kiwix")
nil
- ".*\\.default"
- )))
+ ".*\\.default")))
"Specify the default Kiwix data profile path."
:type 'string
:group 'kiwix-mode)
@@ -152,9 +151,7 @@
(cons "default" (kiwix-get-library-fullname kiwix-default-library))
(cons "en" (kiwix-get-library-fullname kiwix-default-library))
(cons "zh" (kiwix-get-library-fullname "wikipedia_zh_all"))))
-
- (push cons kiwix-libraries-abbrev-alist)
- )
+ (push cons kiwix-libraries-abbrev-alist))
(defcustom kiwix-your-language-library "zh"
"Specify the library for your navtive language."
@@ -182,7 +179,6 @@
(defun kiwix-launch-server ()
"Launch Kiwix server."
(interactive)
-
(let ((library "--library ")
(port (concat "--port=" kiwix-server-port " "))
(daemon "--daemon ")
@@ -195,8 +191,7 @@
"Only capitalize the first word of STRING."
(concat
(string (upcase (aref string 0)))
- (substring string 1))
- )
+ (substring string 1)))
(defun kiwix-query (query &optional library)
"Search `QUERY' in `LIBRARY' with Kiwix."
@@ -279,9 +274,7 @@ for query string and library interactively."
(kiwix-get-library-fullname (or (match-string 1 link)
"default"))
;; validate query is non-English
- (kiwix-get-library-fullname kiwix-your-language-library)
- )
- )
+ (kiwix-get-library-fullname kiwix-your-language-library)))
;;;###autoload
(defun org-wikipedia-link-open (link)
- [elpa] externals/kiwix d43238f 092/192: Merge tag '0.6.1' into develop, (continued)
- [elpa] externals/kiwix d43238f 092/192: Merge tag '0.6.1' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ce7189a 094/192: Merge branch 'hotfix/void-function-org-link-set-parameters', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 1d2b634 095/192: Merge tag 'void-function-org-link-set-parameters' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix a613eed 096/192: fix void function org-link-set-parameters 2., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 57150a7 099/192: change org link protocol name from wiki: to wikipedia:, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix edea223 100/192: Merge branch 'release/0.7.0', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ab3e12b 101/192: Merge tag '0.7.0' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 86c6b1a 103/192: fix free variable link in function., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix a62f9e7 104/192: improve store link result., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix c20df13 108/192: Put kiwix into a global-minor-mode, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6d09e10 109/192: remove dangling parenthesis,
Stefan Monnier <=
- [elpa] externals/kiwix 170483a 111/192: fix kiwix-dir directory accessible unless logic, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 04bbaeb 115/192: add option to whether using kiwix-serve Docker container, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d7549a3 118/192: update kiwix.el config example in comments, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 9c02ff5 120/192: rename kiwix-get-library-fullname -> kiwix-get-library-filename, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix dc72a3a 121/192: add wikipedia: Org Mode link by default now, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 954b9e4 122/192: use library name directly instead of complex library abbrev etc., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ad95e67 123/192: improve README, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 15a5c3c 124/192: make kiwix-serve server port customize option, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 7786e70 126/192: improve README: add Kiwix installation, kiwix-serve Docker setup., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e8bfe4e 127/192: update package description, Stefan Monnier, 2020/12/19