Skip to content

Commit 9c93193

Browse files
authored
Merge pull request #1419 from gracjan/pr-remove-haskell-trim
Remove unused haskell-interactive-trim
2 parents 80225e0 + 895dac7 commit 9c93193

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

haskell-interactive-mode.el

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,6 @@ do the
259259
"\n:}\n"
260260
(format ":set prompt2 \"%s\"" haskell-interactive-prompt2)))))
261261

262-
(defun haskell-interactive-trim (line)
263-
"Trim indentation off of LINE in the REPL."
264-
(if (and (string-match "^[ ]+" line)
265-
(> (length line)
266-
(length haskell-interactive-prompt)))
267-
(substring line
268-
(length haskell-interactive-prompt))
269-
line))
270-
271262
(defun haskell-interactive-mode-line-is-query (line)
272263
"Is LINE actually a :t/:k/:i?"
273264
(and (string-match "^:[itk] " line)

0 commit comments

Comments
 (0)