Skip to content

Commit

Permalink
Use (next-error-internal) instead of (next-error 0) error visiting
Browse files Browse the repository at this point in the history
This is just a minor fix/optimization. `(next-error-internal)` better
matches the behavior of `compile-goto-error` in the presence of other
next-error capable because it avoids calling `next-error-find-buffer`.

This is related to #62
  • Loading branch information
hvr committed Jun 25, 2013
1 parent 6797a17 commit 850880d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell-interactive-mode.el
Expand Up @@ -153,7 +153,7 @@ Key bindings:
"Handle the return key."
(interactive)
(if (haskell-interactive-at-compile-message)
(next-error 0)
(next-error-internal)
(haskell-interactive-handle-line)))

(defun haskell-interactive-mode-space (n)
Expand Down

0 comments on commit 850880d

Please sign in to comment.