[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 0526aac 5/5: Unbreak the button in the Flymake di
From: |
Jo�o T�vora |
Subject: |
[Emacs-diffs] emacs-26 0526aac 5/5: Unbreak the button in the Flymake diagnostics buffer again |
Date: |
Tue, 10 Oct 2017 12:21:47 -0400 (EDT) |
branch: emacs-26
commit 0526aac4ebdc397dbfafdcb7d93cf37c1bb1bc48
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
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 cf1e7e4..e4c6a38 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