Skip to content

Commit

Permalink
Handle whitespace in docset folder path
Browse files Browse the repository at this point in the history
Restore the `(shell-quote-argument (helm-dash-docsets-path))` from
79d4979 that seems to have been lost in a
merge.
  • Loading branch information
tko committed Jun 13, 2015
1 parent 5441b35 commit 2984a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-dash.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 2984a2c

Please sign in to comment.