From 2984a2c6f766dfcaab21a32ee2793e12872fc500 Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Sat, 13 Jun 2015 23:04:50 +0200 Subject: [PATCH] Handle whitespace in docset folder path Restore the `(shell-quote-argument (helm-dash-docsets-path))` from 79d4979a33eaa46e25fde87b4f0a332dff112fa9 that seems to have been lost in a merge. --- helm-dash.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-dash.el b/helm-dash.el index 1e0af82..f958303 100644 --- a/helm-dash.el +++ b/helm-dash.el @@ -246,7 +246,7 @@ Report an error unless a valid docset is selected." (let ((docset-folder (helm-dash-docset-folder-name (shell-command-to-string - (format "tar xvf %s -C %s" (shell-quote-argument docset-tmp-path) (helm-dash-docsets-path)))))) + (format "tar xvf %s -C %s" (shell-quote-argument docset-tmp-path) (shell-quote-argument (helm-dash-docsets-path))))))) (helm-dash-activate-docset docset-folder) (message (format "Docset installed. Add \"%s\" to helm-dash-common-docsets or helm-dash-docsets."