Skip to content

Commit 418ee70

Browse files
committed
Merge pull request #783 from patrickt/bugfix-stack-ghci-cabal-command
Correctly match 'stack-ghci when running haskell-process-do-cabal.
2 parents 2ad392f + db919c7 commit 418ee70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

haskell-load.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ actual Emacs buffer of the module being loaded."
201201
(cl-ecase (haskell-process-type)
202202
('ghci haskell-process-path-cabal)
203203
('cabal-repl haskell-process-path-cabal)
204-
('cabal-ghci haskell-process-path-cabal))
204+
('cabal-ghci haskell-process-path-cabal)
205+
('stack-ghci haskell-process-path-stack))
205206
(cl-caddr state)))))
206207

207208
:live
@@ -244,7 +245,8 @@ actual Emacs buffer of the module being loaded."
244245
:app-name (cl-ecase (haskell-process-type)
245246
('ghci haskell-process-path-cabal)
246247
('cabal-repl haskell-process-path-cabal)
247-
('cabal-ghci haskell-process-path-cabal))
248+
('cabal-ghci haskell-process-path-cabal)
249+
('stack-ghci haskell-process-path-stack))
248250
:app-icon haskell-process-logo)))))))))))
249251

250252
(defun haskell-process-echo-load-message (process buffer echo-in-repl th)

0 commit comments

Comments
 (0)