Skip to content

Commit

Permalink
Merge pull request haskell#1607 from kuribas/master
Browse files Browse the repository at this point in the history
Fix error when haskell-process-path-ghci has arguments
  • Loading branch information
purcell authored Sep 11, 2018
2 parents c08eeb0 + fb04872 commit 034fad0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions inf-haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ directory structure."
(cl-ecase (haskell-process-type)
('ghci (cond ((eq system-type 'cygwin) (nconc "ghcii.sh"
haskell-process-args-ghci))
(t (nconc `(,haskell-process-path-ghci)
haskell-process-args-ghci))))
(t (append
(if (listp haskell-process-path-ghci)
haskell-process-path-ghci
(list haskell-process-path-ghci))
haskell-process-args-ghci))))
('cabal-repl (nconc `(,haskell-process-path-cabal
"repl")
haskell-process-args-cabal-repl))
Expand Down

0 comments on commit 034fad0

Please sign in to comment.