emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/kiwix ca3f70b 150/192: fix URL construct part missing s


From: Stefan Monnier
Subject: [elpa] externals/kiwix ca3f70b 150/192: fix URL construct part missing slash.
Date: Sat, 19 Dec 2020 00:41:50 -0500 (EST)

branch: externals/kiwix
commit ca3f70bc2e2b771c4b766f09c70554c14c4b1a5c
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    fix URL construct part missing slash.
---
 kiwix.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiwix.el b/kiwix.el
index bef8cd5..ed5bfd6 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -176,7 +176,7 @@ Like in function `kiwix-ajax-search-hints'.")
   "Search `QUERY' in `LIBRARY' with Kiwix."
   (let* ((library (or selected-library (kiwix--get-library-name 
kiwix-default-library)))
          (url (concat
-               kiwix-server-url library "/A/"
+               kiwix-server-url "/" library "/A/"
                ;; query need to be convert to URL encoding: "禅宗" 
https://zh.wikipedia.org/wiki/%E7%A6%85%E5%AE%97
                (url-encode-url
                 ;; convert space to underline: "Beta distribution" 
"Beta_distribution"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]