Skip to content
Browse files

tweak comint-prompt-regexp to avoid locking in certain situations.

  • Loading branch information...
1 parent 82099df commit 08a3028d783daffe962748bf9d96bb6c6d249158 @pheaver pheaver committed Dec 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 inf-haskell.el
View
2 inf-haskell.el
@@ -128,7 +128,7 @@ This will either look for a Cabal file or a \"module\" statement in the file."
"Major mode for interacting with an inferior Haskell process."
(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-output-filter-functions 'inferior-haskell-spot-prompt nil t)

0 comments on commit 08a3028

Please sign in to comment.
Something went wrong with that request. Please try again.