]> git.eshelyaron.com Git - emacs.git/commitdiff
Add mode map to Flymake diagnostic button
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 10 Oct 2017 14:24:45 +0000 (10:24 -0400)
committerJoão Távora <joaotavora@gmail.com>
Tue, 10 Oct 2017 16:21:04 +0000 (17:21 +0100)
* lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Add
keymap propery.

lisp/progmodes/flymake.el

index 6c2a37abd7dcaf0f02119152b7aaf2e8ad70e35c..cf1e7e41ba1d1da97a296181a7e7d37360ca6122 100644 (file)
@@ -1132,6 +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
                       mouse-action flymake-goto-diagnostic)]))))
 
 (define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode