branch: elpa/haskell-mode commit 2e08ba771ffdc46d082b2285c534afdb12efb941 Author: Steve Purcell <st...@sanityinc.com> Commit: Steve Purcell <st...@sanityinc.com>
Shell-quote directory name when building cabal command Fixes #1798 --- haskell-load.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-load.el b/haskell-load.el index 48e75e2e73..29804a5683 100644 --- a/haskell-load.el +++ b/haskell-load.el @@ -252,7 +252,7 @@ list of modules where missed IDENT was found." (haskell-process-send-string (cadr state) (format haskell-process-do-cabal-format-string - (haskell-session-cabal-dir (car state)) + (shell-quote-argument (haskell-session-cabal-dir (car state))) (format "%s %s" app-name (cl-caddr state))))) :live (lambda (state buffer)