From 6ce6c01f660931f8c06e19af18cc33db69cfbb59 Mon Sep 17 00:00:00 2001 From: xvw Date: Mon, 30 Dec 2024 14:18:59 +0100 Subject: [PATCH] Display the error when jump en prev/next error --- ocaml-eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml-eglot.el b/ocaml-eglot.el index 4d91050..6417c0f 100644 --- a/ocaml-eglot.el +++ b/ocaml-eglot.el @@ -93,12 +93,12 @@ Otherwise, `merlin-construct' only includes constructors." (defun ocaml-eglot-error-next () "Jump to the next error." (interactive) - (flymake-goto-next-error)) + (call-interactively #'flymake-goto-next-error)) (defun ocaml-eglot-error-prev () "Jump to the previous error." (interactive) - (flymake-goto-prev-error)) + (call-interactively #'flymake-goto-prev-error)) ;; Jump to definition