aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2017-10-10 16:20:51 +0100
committerJoão Távora2017-10-10 17:21:14 +0100
commit0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48 (patch)
treed57631c5949bd8a1b4d858113d21978cb30c6abd
parentc89f001de1c36652a94366bf1aaeec40288d8305 (diff)
downloademacs-0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48.tar.gz
emacs-0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48.zip
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"
1132 mouse-face highlight 1132 mouse-face highlight
1133 help-echo "mouse-2: visit this diagnostic" 1133 help-echo "mouse-2: visit this diagnostic"
1134 face nil 1134 face nil
1135 keymap flymake-diagnostics-buffer-mode-map 1135 action flymake-goto-diagnostic
1136 mouse-action flymake-goto-diagnostic)])))) 1136 mouse-action flymake-goto-diagnostic)]))))
1137 1137
1138(define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode 1138(define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode