Skip to content

Commit be9044b

Browse files
committed
Merge pull request #1241 from gracjan/pr-circ
Use plain syntax in inferior-haskell-send-decl-post-filter
2 parents a2950a1 + 0597165 commit be9044b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inf-haskell.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ setting up the inferior-haskell buffer."
215215

216216
(defun inferior-haskell-send-decl-post-filter (string)
217217
(when (and inferior-haskell-send-decl-post-filter-on
218-
#1=(string-match inferior-haskell-multiline-prompt-re string))
218+
(string-match inferior-haskell-multiline-prompt-re string))
219219
;; deleting sequence of `%s|' multiline promts
220-
(while #1#
220+
(while (string-match inferior-haskell-multiline-prompt-re string)
221221
(setq string (substring string (match-end 0))))
222222
;; deleting regular prompts
223223
(setq string (replace-regexp-in-string comint-prompt-regexp "" string)

0 commit comments

Comments
 (0)