Skip to content

Commit 2e08ba7

Browse files
committed
Shell-quote directory name when building cabal command
Fixes #1798
1 parent b9f1a46 commit 2e08ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-load.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ list of modules where missed IDENT was found."
252252
(haskell-process-send-string
253253
(cadr state)
254254
(format haskell-process-do-cabal-format-string
255-
(haskell-session-cabal-dir (car state))
255+
(shell-quote-argument (haskell-session-cabal-dir (car state)))
256256
(format "%s %s" app-name (cl-caddr state)))))
257257
:live
258258
(lambda (state buffer)

0 commit comments

Comments
 (0)