From 895dac7ca72f7135425c83ba95431c91486baf2c Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Sat, 9 Apr 2016 22:37:38 +0200 Subject: [PATCH] Remove unused haskell-interactive-trim --- haskell-interactive-mode.el | 9 --------- 1 file changed, 9 deletions(-) diff --git a/haskell-interactive-mode.el b/haskell-interactive-mode.el index d69f6831c..fb9e59124 100644 --- a/haskell-interactive-mode.el +++ b/haskell-interactive-mode.el @@ -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)