From 632bb0489383c6b6075683747f09def61cbd9a4a Mon Sep 17 00:00:00 2001 From: Michael Hauser-Raspe Date: Thu, 3 Apr 2014 13:41:52 +0100 Subject: [PATCH] Additional fix for ghci prompt inferior-haskell-mode This is a fix for [this issue](https://github.com/haskell/haskell-mode/issues/257) which is conceptually the same as [this older issue](https://github.com/haskell/haskell-mode/issues/176) --- inf-haskell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inf-haskell.el b/inf-haskell.el index 6ed49d6f9..10e6098ee 100644 --- a/inf-haskell.el +++ b/inf-haskell.el @@ -119,7 +119,7 @@ This will either look for a Cabal file or a \"module\" statement in the file." :group 'inferior-haskell (set (make-local-variable 'comint-prompt-regexp) ;; Whay the backslash in [\\._[:alnum:]]? - "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*> \\|^λ?> $") + "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*\\( λ\\)?> \\|^λ?> $") (set (make-local-variable 'comint-input-autoexpand) nil) (add-hook 'comint-preoutput-filter-functions 'inferior-haskell-send-decl-post-filter)