[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 5bd84a6 187/192: select kiwix library when comple
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 5bd84a6 187/192: select kiwix library when completing org link |
Date: |
Sat, 19 Dec 2020 00:41:57 -0500 (EST) |
branch: externals/kiwix
commit 5bd84a68465eb0472814e2c9e6965c6e6ea700ad
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
select kiwix library when completing org link
---
org-kiwix.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/org-kiwix.el b/org-kiwix.el
index dfd7d69..4076051 100644
--- a/org-kiwix.el
+++ b/org-kiwix.el
@@ -107,9 +107,11 @@
(defun org-wikipedia-complete-link (&optional arg)
"Use kiwix AJAX request to provide available completion keywords."
- (let* ((input (or arg (read-from-minibuffer "Search keyword: ")))
- (keywords (kiwix-ajax-search-hints input)))
+ (let* ((query (or arg (read-from-minibuffer "Search keyword: ")))
+ (library (kiwix-select-library))
+ (keywords (kiwix-ajax-search-hints query library)))
(concat "wikipedia:"
+ "(" library "):"
(completing-read "Available keywords: " keywords))))
;;;###autoload
- [elpa] externals/kiwix 5b5b117 163/192: improve the kiwix-query URL to use the search API, (continued)
- [elpa] externals/kiwix 5b5b117 163/192: improve the kiwix-query URL to use the search API, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f4a1e2d 164/192: rename function* -> cl-function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix cf6fc32 165/192: add :status-code handler, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 3fe879f 168/192: refresh libraries before selecting library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 716c5f6 169/192: Docker container launch command use library.xml index file, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix cd95bc9 171/192: update README: using libraries index file "library.xml", Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 9db0a13 172/192: display screenshots at beginning, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5f64044 175/192: support detect whether query is chinese, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6c6c443 176/192: fix Org link open function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 7fda411 184/192: fix org-link-set-parameters functions not available when Org not loaded, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5bd84a6 187/192: select kiwix library when completing org link,
Stefan Monnier <=
- [elpa] externals/kiwix d92a371 189/192: Fix some byte-compile warnings, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 905a413 192/192: Fix #4 add GNU license info in package source code file, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 2d33910 072/192: Merge tag 'v0.5.0' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix bf128fb 087/192: Merge branch 'hotfix/void-function_org-link-set-parameters', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f3a2d8f 091/192: Merge branch 'release/0.6.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f84b449 070/192: autoload Org-mode link adding, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 3485131 071/192: Merge branch 'develop', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 21b5dfe 073/192: fix variable invalid for autoload kiwix, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f86cb0d 075/192: Merge tag 'v0.5.1' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 33d6608 076/192: org-mode wiki: link store function solved., Stefan Monnier, 2020/12/19