branch: externals/kiwix commit 511a11cdd4e1244eb8c9758d63aaf8b36d3e38f7 Merge: aa4ac22 d684140 Author: stardiviner <numbch...@gmail.com> Commit: GitHub <nore...@github.com>
Merge pull request #1 from purcell/patch-1 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)