branch: externals/kiwix
commit d684140437a4b10ac1ca92912e3e59d1f9d2c22f
Author: Steve Purcell <[email protected]>
Commit: GitHub <[email protected]>
Quote path argument each time it's used
---
kiwix.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 6167158..b9579e8 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -39,7 +39,7 @@
:type 'string
:group 'kiwix)
-(defcustom kiwix-default-data-path (shell-quote-argument (concat (getenv
"HOME") "/.www.kiwix.org/kiwix/" kiwix-default-data-profile-name))
+(defcustom kiwix-default-data-path (concat (getenv "HOME")
"/.www.kiwix.org/kiwix/" kiwix-default-data-profile-name)
"Specify the default Kiwix data path."
:type 'string
:group 'kiwix)
@@ -79,7 +79,7 @@
(library-path (concat kiwix-default-data-path
"/data/library/library.xml"))
)
(async-shell-command
- (concat kiwix-server-command library port daemon library-path))))
+ (concat kiwix-server-command library port daemon (shell-quote-argument
library-path)))))
(defun kiwix-query (query &optional library)