File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -346,6 +346,12 @@ correspondingly-named overlay properties of OVL."
346346 (t
347347 (message " No further notes from Haskell compiler. " ))))
348348
349+ (defun haskell-goto-first-error ()
350+ (interactive )
351+ (haskell-goto-error-overlay
352+ (first-overlay-in-if 'haskell-check-overlay-p
353+ (buffer-end 0 ) (buffer-end 1 ))))
354+
349355(defun haskell-goto-prev-error ()
350356 (interactive )
351357 (haskell-goto-error-overlay
Original file line number Diff line number Diff line change 5454 (define-key map [?\C -c ?\C -z] 'haskell-interactive-switch )
5555 (define-key map (kbd " M-n" ) 'haskell-goto-next-error )
5656 (define-key map (kbd " M-p" ) 'haskell-goto-prev-error )
57+ (define-key map (kbd " C-c M-p" ) 'haskell-goto-first-error )
5758 map)
5859 " Keymap for using haskell-interactive-mode." )
5960
You can’t perform that action at this time.
0 commit comments