Skip to content

Commit 6af7880

Browse files
committed
manual: mention goto-error functions
1 parent 5672166 commit 6af7880

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/haskell-mode.texi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,21 @@ associated with at most one GHCi session, so when you call
730730
no session associated yet, you're asked which GHCi session to create or
731731
associate with.
732732

733+
@section Goto Error
734+
735+
In a Haskell source buffer associated with a GHCi session, errors that
736+
prevent the file from loading are highlighted with
737+
@code{haskell-error-face}. You can move between these error lines with
738+
739+
@table @kbd
740+
@item M-n
741+
is bound to @code{haskell-goto-next-error}
742+
@item M-p
743+
is bound to @code{haskell-goto-prev-error}
744+
@item C-c M-p
745+
is bound to @code{haskell-goto-first-error}
746+
@end table
747+
733748
@section Using GHCi-ng
734749

735750
Put @code{:set +c} in your @code{.ghci} or run it in the REPL. Then use

0 commit comments

Comments
 (0)