summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-10-10 16:20:51 +0100
committerJoão Távora <joaotavora@gmail.com>2017-10-10 17:21:14 +0100
commit0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48 (patch)
treed57631c5949bd8a1b4d858113d21978cb30c6abd
parentc89f001de1c36652a94366bf1aaeec40288d8305 (diff)
downloademacs-0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48.tar.gz
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'.
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
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