Permalink
Browse files

Fix haskell-session-change.

  • Loading branch information...
1 parent 5d2ee74 commit 52ff319beff37a09475bf03372c91857c67b4f74 @chrisdone chrisdone committed Jun 12, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 haskell-session.el
View
4 haskell-session.el
@@ -165,7 +165,9 @@
"Change the session for the current buffer."
(interactive)
(haskell-session-clear)
- (haskell-session))
+ (haskell-session-assign (or (haskell-session-new-assume-from-cabal)
+ (haskell-session-choose)
+ (haskell-session-new))))
(defun haskell-session-strip-dir (session file)
"Strip the load dir from the file path."

0 comments on commit 52ff319

Please sign in to comment.