Skip to content

Commit

Permalink
tweak comint-prompt-regexp to avoid locking in certain situations.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheaver committed Dec 20, 2011
1 parent 82099df commit 08a3028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inf-haskell.el
Expand Up @@ -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." "Major mode for interacting with an inferior Haskell process."
(set (make-local-variable 'comint-prompt-regexp) (set (make-local-variable 'comint-prompt-regexp)
;; Whay the backslash in [\\._[:alnum:]]? ;; Whay the backslash in [\\._[:alnum:]]?
"^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*> ") "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*> \\|^> $")
(set (make-local-variable 'comint-input-autoexpand) nil) (set (make-local-variable 'comint-input-autoexpand) nil)
(add-hook 'comint-output-filter-functions 'inferior-haskell-spot-prompt nil t) (add-hook 'comint-output-filter-functions 'inferior-haskell-spot-prompt nil t)


Expand Down

0 comments on commit 08a3028

Please sign in to comment.