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."
346
346
(t
347
347
(message " No further notes from Haskell compiler. " ))))
348
348
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
+
349
355
(defun haskell-goto-prev-error ()
350
356
(interactive )
351
357
(haskell-goto-error-overlay
Original file line number Diff line number Diff line change 54
54
(define-key map [?\C -c ?\C -z] 'haskell-interactive-switch )
55
55
(define-key map (kbd " M-n" ) 'haskell-goto-next-error )
56
56
(define-key map (kbd " M-p" ) 'haskell-goto-prev-error )
57
+ (define-key map (kbd " C-c M-p" ) 'haskell-goto-first-error )
57
58
map)
58
59
" Keymap for using haskell-interactive-mode." )
59
60
You can’t perform that action at this time.
0 commit comments