Skip to content

Commit

Permalink
Use haskell-process-path-cabal everywhere
Browse files Browse the repository at this point in the history
Does not change default behavior, only when these variables are
customized by the user.
  • Loading branch information
bergey committed Jun 11, 2014
1 parent ca84191 commit 8f02b8c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions haskell-process.el
Expand Up @@ -498,10 +498,10 @@ to be loaded by ghci."
(haskell-session-cabal-dir (car state))
(format "%s %s"
(ecase haskell-process-type
('ghci "cabal")
('cabal-repl "cabal")
('cabal-ghci "cabal")
('cabal-dev "cabal-dev"))
('ghci haskell-process-path-cabal)
('cabal-repl haskell-process-path-cabal)
('cabal-ghci haskell-process-path-cabal)
('cabal-dev haskell-process-path-cabal-dev))
(caddr state)))))

:live
Expand Down Expand Up @@ -541,10 +541,10 @@ to be loaded by ghci."
:title (format "*%s*" (haskell-session-name (car state)))
:body msg
:app-name (ecase haskell-process-type
('ghci "cabal")
('cabal-repl "cabal")
('cabal-ghci "cabal")
('cabal-dev "cabal-dev"))
('ghci haskell-process-path-cabal)
('cabal-repl haskell-process-path-cabal)
('cabal-ghci haskell-process-path-cabal)
('cabal-dev haskell-process-path-cabal-dev))
:app-icon haskell-process-logo
)))))))))

Expand Down

0 comments on commit 8f02b8c

Please sign in to comment.