1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00

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'.
This commit is contained in:
João Távora 2017-10-10 16:20:51 +01:00
parent c89f001de1
commit 0526aac4eb

View 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