File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 2222
2323(defun haskell-interactive-handle-expr ()
2424 " Handle an inputted expression at the REPL."
25- (let ((expr (haskell-interactive-mode-input))
26- (at-prompt-line (>= (line-end-position )
27- haskell-interactive-mode-prompt-start)))
28- (if (and at-prompt-line
29- (string= " " (replace-regexp-in-string " " " " expr)))
25+ (let ((expr (haskell-interactive-mode-input)))
26+ (if (string= " " (replace-regexp-in-string " " " " expr))
27+ ; ; Just make a new prompt on space-only input
3028 (progn
31- (goto-char (point-max ))
32- (insert " \n " )
33- (haskell-interactive-mode-prompt))
29+ (goto-char (point-max ))
30+ (insert " \n " )
31+ (haskell-interactive-mode-prompt))
3432 (when (haskell-interactive-at-prompt)
3533 (cond
3634 ; ; If already evaluating, then the user is trying to send
You can’t perform that action at this time.
0 commit comments