]> git.eshelyaron.com Git - emacs.git/commit
Simplify Flymake diagnostics buffer UX
authorMark Oteiza <mvoteiza@udel.edu>
Sun, 8 Oct 2017 21:42:31 +0000 (22:42 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 8 Oct 2017 23:14:39 +0000 (00:14 +0100)
commited0486535d6d0a3c165aa79ce43b84139ea83535
treeb6a333ba5c673e752a6975f84cda89ce79682108
parentef94e5ae2ca550a4788564a16a8f46b9ca297dd1
Simplify Flymake diagnostics buffer UX

Don't create text-buttons unnecessarily, just bind RET and SPC in the
diagnostics buffer to a command that figures out which diagnostic it
was invoked on.

* lisp/progmodes/flymake.el
(flymake--diagnostics-buffer-mode-keymap): Renamed from
flymake--diagnostics-buffer-button-keymap.
(flymake-show-diagnostic-at-point): Don't take a button.
(flymake-goto-diagnostic-at-point): Don't pass button to
flymake-show-diagnostic-at-point.
(flymake--diagnostics-buffer-entries): Simplify.
lisp/progmodes/flymake.el