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

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

[elpa] externals/kiwix d684140 024/192: Quote path argument each time it


From: Stefan Monnier
Subject: [elpa] externals/kiwix d684140 024/192: Quote path argument each time it's used
Date: Sat, 19 Dec 2020 00:41:26 -0500 (EST)

branch: externals/kiwix
commit d684140437a4b10ac1ca92912e3e59d1f9d2c22f
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>

    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)



reply via email to

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