]> git.eshelyaron.com Git - emacs.git/commitdiff
Unbreak the button in the Flymake diagnostics buffer again
authorJoão Távora <joaotavora@gmail.com>
Tue, 10 Oct 2017 15:20:51 +0000 (16:20 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 10 Oct 2017 16:21:14 +0000 (17:21 +0100)
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

index cf1e7e41ba1d1da97a296181a7e7d37360ca6122..e4c6a38a77e39d7a3525d77d43e9073781646c0c 100644 (file)
@@ -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