Skip to content

Commit

Permalink
Merge pull request #1419 from gracjan/pr-remove-haskell-trim
Browse files Browse the repository at this point in the history
Remove unused haskell-interactive-trim
  • Loading branch information
gracjan authored Sep 15, 2016
2 parents 80225e0 + 895dac7 commit 9c93193
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions haskell-interactive-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,6 @@ do the
"\n:}\n"
(format ":set prompt2 \"%s\"" haskell-interactive-prompt2)))))

(defun haskell-interactive-trim (line)
"Trim indentation off of LINE in the REPL."
(if (and (string-match "^[ ]+" line)
(> (length line)
(length haskell-interactive-prompt)))
(substring line
(length haskell-interactive-prompt))
line))

(defun haskell-interactive-mode-line-is-query (line)
"Is LINE actually a :t/:k/:i?"
(and (string-match "^:[itk] " line)
Expand Down

0 comments on commit 9c93193

Please sign in to comment.