Skip to content

Commit 4f6e301

Browse files
committed
Wrap session target
1 parent f710b85 commit 4f6e301

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

haskell-process.el

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ HPTYPE is the result of calling `'haskell-process-type`' function."
9393
nil)
9494
(apply haskell-process-wrapper-function
9595
(list
96-
(cons haskell-process-path-cabal (cons "repl" haskell-process-args-cabal-repl))))
97-
(let ((target (haskell-session-target session)))
98-
(if target (list target) nil))))
96+
(append
97+
(list haskell-process-path-cabal "repl")
98+
haskell-process-args-cabal-repl
99+
(let ((target (haskell-session-target session)))
100+
(if target (list target) nil)))))))
99101
('cabal-ghci
100102
(append (list (format "Starting inferior cabal-ghci process using %s ..."
101103
haskell-process-path-cabal-ghci)

0 commit comments

Comments
 (0)