Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inf-haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ setting up the inferior-haskell buffer."

(defun inferior-haskell-send-decl-post-filter (string)
(when (and inferior-haskell-send-decl-post-filter-on
#1=(string-match inferior-haskell-multiline-prompt-re string))
(string-match inferior-haskell-multiline-prompt-re string))
;; deleting sequence of `%s|' multiline promts
(while #1#
(while (string-match inferior-haskell-multiline-prompt-re string)
(setq string (substring string (match-end 0))))
;; deleting regular prompts
(setq string (replace-regexp-in-string comint-prompt-regexp "" string)
Expand Down