aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Oteiza2017-10-10 10:24:45 -0400
committerMark Oteiza2017-10-10 10:24:45 -0400
commit786b892d410e6fb00ff43d34a1fafd21e50c1625 (patch)
tree9e2c484b41fa280c25de03bb7029ff2533378c44
parent9412afa5f601f0d3f6d6d094bf5b918a41a3e136 (diff)
downloademacs-scratch/flymake-diagnostics-buffer.tar.gz
emacs-scratch/flymake-diagnostics-buffer.zip
Add mode map to diagnostic buttonscratch/flymake-diagnostics-buffer
* lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Add keymap propery.
-rw-r--r--lisp/progmodes/flymake.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 6796fc2b76b..b813c53bc70 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1043,6 +1043,7 @@ POS can be a buffer position or a button"
1043 mouse-face highlight 1043 mouse-face highlight
1044 help-echo "mouse-2: visit this diagnostic" 1044 help-echo "mouse-2: visit this diagnostic"
1045 face nil 1045 face nil
1046 keymap flymake-diagnostics-buffer-mode-map
1046 mouse-action flymake-goto-diagnostic)])))) 1047 mouse-action flymake-goto-diagnostic)]))))
1047 1048
1048(define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode 1049(define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode