From 0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 10 Oct 2017 16:20:51 +0100 Subject: [PATCH] Unbreak the button in the Flymake diagnostics buffer again Adding the 'keymap' property enabled RET but broke the mouse-action. * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Use 'action' instead of 'keymap'. --- lisp/progmodes/flymake.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index cf1e7e41ba1..e4c6a38a77e 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1132,7 +1132,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 + action flymake-goto-diagnostic mouse-action flymake-goto-diagnostic)])))) (define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode -- 2.39.2