From db919c721abce9e71a3c69d0a59edc2823aa2428 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Mon, 27 Jul 2015 20:34:48 -0400 Subject: [PATCH] Correctly match 'stack-ghci when running cabal. --- haskell-load.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/haskell-load.el b/haskell-load.el index 7454f4419..76321620c 100644 --- a/haskell-load.el +++ b/haskell-load.el @@ -201,7 +201,8 @@ actual Emacs buffer of the module being loaded." (cl-ecase (haskell-process-type) ('ghci haskell-process-path-cabal) ('cabal-repl haskell-process-path-cabal) - ('cabal-ghci haskell-process-path-cabal)) + ('cabal-ghci haskell-process-path-cabal) + ('stack-ghci haskell-process-path-stack)) (cl-caddr state))))) :live @@ -244,7 +245,8 @@ actual Emacs buffer of the module being loaded." :app-name (cl-ecase (haskell-process-type) ('ghci haskell-process-path-cabal) ('cabal-repl haskell-process-path-cabal) - ('cabal-ghci haskell-process-path-cabal)) + ('cabal-ghci haskell-process-path-cabal) + ('stack-ghci haskell-process-path-stack)) :app-icon haskell-process-logo))))))))))) (defun haskell-process-echo-load-message (process buffer echo-in-repl th)