From 786b892d410e6fb00ff43d34a1fafd21e50c1625 Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Tue, 10 Oct 2017 10:24:45 -0400 Subject: [PATCH] Add mode map to diagnostic button * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Add keymap propery. --- lisp/progmodes/flymake.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 6796fc2b76b..b813c53bc70 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1043,6 +1043,7 @@ POS can be a buffer position or a button" mouse-face highlight help-echo "mouse-2: visit this diagnostic" face nil + keymap flymake-diagnostics-buffer-mode-map mouse-action flymake-goto-diagnostic)])))) (define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode -- 2.39.5